diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-30 22:17:21 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-30 22:17:21 +0400 |
commit | 7ae155398062be93c71116fcc757471d5a324ddf (patch) | |
tree | 6e593a9d0ccf65ea57e7143d444258820a49c8ed /init/init.c | |
parent | a8622e049d67c5cd45a0b2e221d37b9176d98fb2 (diff) |
- 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.c')
-rw-r--r-- | init/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c index b17ebc2ce..d072a2209 100644 --- a/init/init.c +++ b/init/init.c @@ -683,12 +683,12 @@ static void shutdown_system(void) sync(); /* Send signals to every process _except_ pid 1 */ - message(CONSOLE | LOG, "Sending SIGTERM to all processes."); + message(CONSOLE | LOG, init_sending_format, "TERM"); kill(-1, SIGTERM); sleep(1); sync(); - message(CONSOLE | LOG, "Sending SIGKILL to all processes."); + message(CONSOLE | LOG, init_sending_format, "KILL"); kill(-1, SIGKILL); sleep(1); |