diff options
author | Bernhard Reutner-Fischer | 2006-05-30 18:17:21 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-05-30 18:17:21 +0000 |
commit | 7ae155398062be93c71116fcc757471d5a324ddf (patch) | |
tree | 6e593a9d0ccf65ea57e7143d444258820a49c8ed /init/init_shared.c | |
parent | a8622e049d67c5cd45a0b2e221d37b9176d98fb2 (diff) | |
download | busybox-7ae155398062be93c71116fcc757471d5a324ddf.zip busybox-7ae155398062be93c71116fcc757471d5a324ddf.tar.gz |
- consolidate "Sending SIG%s to all processes"; untested..
text data bss dec hex filename
5379 32 8 5419 152b init/init.o.oorig
5358 32 8 5398 1516 init/init.o
Diffstat (limited to 'init/init_shared.c')
-rw-r--r-- | init/init_shared.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/init/init_shared.c b/init/init_shared.c index 6404da5..190d0a3 100644 --- a/init/init_shared.c +++ b/init/init_shared.c @@ -44,16 +44,16 @@ int bb_shutdown_system(unsigned long magic) sync(); /* Send signals to every process _except_ pid 1 */ - message = "Sending SIGTERM to all processes."; - syslog(pri, "%s", message); + message = "TERM"; + syslog(pri, init_sending_format, message); printf(bb_shutdown_format, message); kill(-1, SIGTERM); sleep(1); sync(); - message = "Sending SIGKILL to all processes."; - syslog(pri, "%s", message); + message = "KILL"; + syslog(pri, init_sending_format, message); printf(bb_shutdown_format, message); kill(-1, SIGKILL); |