diff options
| author | Erik Andersen <andersen@codepoet.org> | 2000-04-18 00:00:52 +0000 |
|---|---|---|
| committer | Erik Andersen <andersen@codepoet.org> | 2000-04-18 00:00:52 +0000 |
| commit | a6c752201e9031b51a6d89349f1cec1f690f56ef (patch) | |
| tree | 808a54e0dc112d8b32326ccdb411e4300dc65d76 /kill.c | |
| parent | 91e581fa0438b39ceb0ffb4ddcb90ee4d260ae81 (diff) | |
| download | busybox-w32-a6c752201e9031b51a6d89349f1cec1f690f56ef.tar.gz busybox-w32-a6c752201e9031b51a6d89349f1cec1f690f56ef.tar.bz2 busybox-w32-a6c752201e9031b51a6d89349f1cec1f690f56ef.zip | |
Updates
-Erik
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 |
