[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/9] startup: be more specific in the shutdown message
From: |
Justus Winter |
Subject: |
[PATCH 6/9] startup: be more specific in the shutdown message |
Date: |
Mon, 23 Sep 2013 13:03:28 +0200 |
Use the BOOT macro to print either halt or reboot instead of the
generic shutdown in the event of an system shutdown.
* startup/startup.c (reboot_system): Use more specific message.
---
startup/startup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/startup/startup.c b/startup/startup.c
index a569fe2..b872188 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -217,7 +217,7 @@ notify_shutdown (const char *msg)
void
reboot_system (int flags)
{
- notify_shutdown ("shutdown");
+ notify_shutdown (BOOT (flags));
if (fakeboot)
{
--
1.7.10.4
- POC: split init into /hurd/startup and /hurd/init, Justus Winter, 2013/09/23
- [PATCH 1/9] Add proc_set_init_task, make runsystem pid 1, Justus Winter, 2013/09/23
- [PATCH 3/9] Add a minimalist init program, Justus Winter, 2013/09/23
- [PATCH 4/9] startup: do not pass signals on to the child, Justus Winter, 2013/09/23
- [PATCH 5/9] startup: remove unused function run_for_real, Justus Winter, 2013/09/23
- [PATCH 6/9] startup: be more specific in the shutdown message,
Justus Winter <=
- [PATCH 7/9] startup: fix the declaration of the *_server functions, Justus Winter, 2013/09/23
- [PATCH 8/9] poc /servers/startup, Justus Winter, 2013/09/23
- [PATCH 2/9] startup: rename init to startup, Justus Winter, 2013/09/23
- [PATCH 9/9] XXX fix build, Justus Winter, 2013/09/23