aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-06 22:51:52 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-06 22:51:52 +0000
commit0cacc80952a7a34f9cb8b384d6dd0b1522c37bae (patch)
tree235ca0a8810487c7022cb086f7c9a4dfedfed5ed /procps
parent02f47e9f8140e5b4e83f691df21a542f0651ab15 (diff)
downloadbusybox-0cacc80952a7a34f9cb8b384d6dd0b1522c37bae.tar.gz
kill: improve comment
Diffstat (limited to 'procps')
-rw-r--r--procps/kill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/procps/kill.c b/procps/kill.c
index 3ccbd30e4..3e0e121ca 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -36,7 +36,8 @@ int kill_main(int argc, char **argv)
#else
/* How to determine who we are? find 3rd char from the end:
* kill, killall, killall5
- * ^i ^a ^l */
+ * ^i ^a ^l - it's unique
+ * (checking from the start is complicated by /bin/kill... case) */
const char char3 = argv[0][strlen(argv[0]) - 3];
#define killall (ENABLE_KILLALL && char3 == 'a')
#define killall5 (ENABLE_KILLALL5 && char3 == 'l')