aboutsummaryrefslogtreecommitdiff
path: root/init/init_shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/init_shared.c')
-rw-r--r--init/init_shared.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/init/init_shared.c b/init/init_shared.c
index 6404da55a..190d0a33e 100644
--- a/init/init_shared.c
+++ b/init/init_shared.c
@@ -44,16 +44,16 @@ int bb_shutdown_system(unsigned long magic)
44 sync(); 44 sync();
45 45
46 /* Send signals to every process _except_ pid 1 */ 46 /* Send signals to every process _except_ pid 1 */
47 message = "Sending SIGTERM to all processes."; 47 message = "TERM";
48 syslog(pri, "%s", message); 48 syslog(pri, init_sending_format, message);
49 printf(bb_shutdown_format, message); 49 printf(bb_shutdown_format, message);
50 50
51 kill(-1, SIGTERM); 51 kill(-1, SIGTERM);
52 sleep(1); 52 sleep(1);
53 sync(); 53 sync();
54 54
55 message = "Sending SIGKILL to all processes."; 55 message = "KILL";
56 syslog(pri, "%s", message); 56 syslog(pri, init_sending_format, message);
57 printf(bb_shutdown_format, message); 57 printf(bb_shutdown_format, message);
58 58
59 kill(-1, SIGKILL); 59 kill(-1, SIGKILL);