From 689f1031426e4e610fd63ef708471ed2b051d1cd Mon Sep 17 00:00:00 2001 From: Oliver Hartkopp Date: Fri, 8 Dec 2023 17:14:49 +0100 Subject: [PATCH] cansniffer: remove unnecessary parenthesis Signed-off-by: Oliver Hartkopp --- isotpsniffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isotpsniffer.c b/isotpsniffer.c index 04d9c88..d118772 100644 --- a/isotpsniffer.c +++ b/isotpsniffer.c @@ -332,7 +332,7 @@ int main(int argc, char **argv) opts.rx_ext_address = tmpext; } - if ((setsockopt(t, SOL_CAN_ISOTP, CAN_ISOTP_OPTS, &opts, sizeof(opts))) < 0) { + if (setsockopt(t, SOL_CAN_ISOTP, CAN_ISOTP_OPTS, &opts, sizeof(opts)) < 0) { perror("setsockopt"); r = 1; goto out;