From cf5f5969fe3d77d1b40f6d7b2a09d82a00995fb0 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Mon, 30 Mar 2020 11:59:55 -0400 Subject: correct placement of parens in assignment as comparison --- kill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kill.c b/kill.c index 777f531..f83c6c6 100644 --- a/kill.c +++ b/kill.c @@ -67,7 +67,7 @@ int kill_main(int argc, char *argv[]) opterr = 0; int c; - while ((c = getopt(argc, argv, "s:l") != -1)) { + while ((c = getopt(argc, argv, "s:l")) != -1) { switch (c) { case 's': /** send signal [signal_name] **/ signame = optarg; -- cgit v1.2.1