aboutsummaryrefslogtreecommitdiff
path: root/procps/kill.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-05-06 22:51:52 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-05-06 22:51:52 +0000
commitfc24e2de044defa5e26e99a125dc2b361cab184a (patch)
tree235ca0a8810487c7022cb086f7c9a4dfedfed5ed /procps/kill.c
parent1a2df109473271c5f65c34345d26a466a4827f09 (diff)
downloadbusybox-w32-fc24e2de044defa5e26e99a125dc2b361cab184a.tar.gz
busybox-w32-fc24e2de044defa5e26e99a125dc2b361cab184a.tar.bz2
busybox-w32-fc24e2de044defa5e26e99a125dc2b361cab184a.zip
kill: improve comment
git-svn-id: svn://busybox.net/trunk/busybox@18568 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-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)
36#else 36#else
37/* How to determine who we are? find 3rd char from the end: 37/* How to determine who we are? find 3rd char from the end:
38 * kill, killall, killall5 38 * kill, killall, killall5
39 * ^i ^a ^l */ 39 * ^i ^a ^l - it's unique
40 * (checking from the start is complicated by /bin/kill... case) */
40 const char char3 = argv[0][strlen(argv[0]) - 3]; 41 const char char3 = argv[0][strlen(argv[0]) - 3];
41#define killall (ENABLE_KILLALL && char3 == 'a') 42#define killall (ENABLE_KILLALL && char3 == 'a')
42#define killall5 (ENABLE_KILLALL5 && char3 == 'l') 43#define killall5 (ENABLE_KILLALL5 && char3 == 'l')