aboutsummaryrefslogtreecommitdiff
path: root/procps/kill.c
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-01-04 01:10:25 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-01-04 01:10:25 +0000
commit3424c7bbe585d02d8217b2a798d83e016b3bd852 (patch)
tree7532471be456e2c9f11eab88cb34f1e38abd184f /procps/kill.c
parent1e0848972f74b518cd8cc44f9422526ca667cc86 (diff)
downloadbusybox-w32-3424c7bbe585d02d8217b2a798d83e016b3bd852.tar.gz
busybox-w32-3424c7bbe585d02d8217b2a798d83e016b3bd852.tar.bz2
busybox-w32-3424c7bbe585d02d8217b2a798d83e016b3bd852.zip
Bunches of fixes. Typos, bugs, etc.
Added 'gunzip -t'. inittab support _almost_ works (but it isn't ready for prime time useage yet). -Erik git-svn-id: svn://busybox.net/trunk/busybox@276 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'procps/kill.c')
-rw-r--r--procps/kill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/procps/kill.c b/procps/kill.c
index 0ba6d76ce..e72b73493 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -183,7 +183,7 @@ extern int kill_main (int argc, char **argv)
183 183
184do_it_now: 184do_it_now:
185 185
186 while (argc >= 1) { 186 while (--argc >= 0) {
187 int pid; 187 int pid;
188 struct stat statbuf; 188 struct stat statbuf;
189 char pidpath[20]="/proc/"; 189 char pidpath[20]="/proc/";
@@ -198,6 +198,7 @@ do_it_now:
198 fprintf(stderr, "kill: (%d) - No such pid\n", pid); 198 fprintf(stderr, "kill: (%d) - No such pid\n", pid);
199 exit( FALSE); 199 exit( FALSE);
200 } 200 }
201 fprintf(stderr, "sig = %d\n", sig);
201 if (kill (pid, sig) != 0) { 202 if (kill (pid, sig) != 0) {
202 perror (*argv); 203 perror (*argv);
203 exit ( FALSE); 204 exit ( FALSE);