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