diff options
author | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-04-18 00:00:52 +0000 |
---|---|---|
committer | erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-04-18 00:00:52 +0000 |
commit | 8e4d2339fe13ce8e321c20b1c7a5b3d074c3b0ff (patch) | |
tree | 808a54e0dc112d8b32326ccdb411e4300dc65d76 /kill.c | |
parent | 97780a33efddca3c7ffba155c48c4cf634cc8d41 (diff) | |
download | busybox-w32-8e4d2339fe13ce8e321c20b1c7a5b3d074c3b0ff.tar.gz busybox-w32-8e4d2339fe13ce8e321c20b1c7a5b3d074c3b0ff.tar.bz2 busybox-w32-8e4d2339fe13ce8e321c20b1c7a5b3d074c3b0ff.zip |
Updates
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@472 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'kill.c')
-rw-r--r-- | kill.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -230,6 +230,8 @@ extern int kill_main(int argc, char **argv) | |||
230 | for(; pidList && pidList!=0; pidList++) { | 230 | for(; pidList && pidList!=0; pidList++) { |
231 | if (kill(*pidList, sig) != 0) | 231 | if (kill(*pidList, sig) != 0) |
232 | fatalError( "Could not kill pid '%d': %s\n", *pidList, strerror(errno)); | 232 | fatalError( "Could not kill pid '%d': %s\n", *pidList, strerror(errno)); |
233 | else | ||
234 | printf("killed %d\n", *pidList); | ||
233 | } | 235 | } |
234 | /* Note that we don't bother to free the memory | 236 | /* Note that we don't bother to free the memory |
235 | * allocated in findPidByName(). It will be freed | 237 | * allocated in findPidByName(). It will be freed |