From e58771e73c0d8589a458ede4088f5ba70eff917b Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Wed, 12 Jul 2000 15:38:49 +0000 Subject: Use global applet_name instead of local versions. --- procps/kill.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'procps') 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; -- cgit v1.2.3