aboutsummaryrefslogtreecommitdiff
path: root/kill.c
diff options
context:
space:
mode:
Diffstat (limited to 'kill.c')
-rw-r--r--kill.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/kill.c b/kill.c
index a0b93be2b..44cb38395 100644
--- a/kill.c
+++ b/kill.c
@@ -125,8 +125,7 @@ extern int kill_main(int argc, char **argv)
125 125
126#ifdef BB_KILLALL 126#ifdef BB_KILLALL
127 /* Figure out what we are trying to do here */ 127 /* Figure out what we are trying to do here */
128 whichApp = (strcmp(*argv, "killall") == 0)? 128 whichApp = (strcmp(applet_name, "killall") == 0)? KILLALL : KILL;
129 KILLALL : KILL;
130 appUsage = (whichApp == KILLALL)? killall_usage : kill_usage; 129 appUsage = (whichApp == KILLALL)? killall_usage : kill_usage;
131#else 130#else
132 whichApp = KILL; 131 whichApp = KILL;