Use global applet_name instead of local versions.
diff --git a/kill.c b/kill.c
index a0b93be..44cb383 100644
--- a/kill.c
+++ b/kill.c
@@ -125,8 +125,7 @@
 
 #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;