[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/8] startup: be more specific in the shutdown message
From: |
Justus Winter |
Subject: |
[PATCH 6/8] startup: be more specific in the shutdown message |
Date: |
Wed, 3 Sep 2014 14:33:14 +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 4c91d4c..0a33855 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)
{
--
2.1.0
- [PATCH 1/8] libdiskfs: fix /servers/exec lookup, Justus Winter, 2014/09/03
- [PATCH 2/8] Add proc_set_init_task, make runsystem pid 1, Justus Winter, 2014/09/03
- [PATCH 4/8] init: add a minimalist init program, Justus Winter, 2014/09/03
- [PATCH 5/8] startup: do not pass signals on to the child, Justus Winter, 2014/09/03
- [PATCH 6/8] startup: be more specific in the shutdown message,
Justus Winter <=
- [PATCH 7/8] startup: fix the declaration of the *_server functions, Justus Winter, 2014/09/03
- [PATCH 8/8] startup: bind the startup server to /servers/startup, Justus Winter, 2014/09/03
- [PATCH 3/8] startup: rename /hurd/init to /hurd/startup, Justus Winter, 2014/09/03
- Re: [PATCH 1/8] libdiskfs: fix /servers/exec lookup, Samuel Thibault, 2014/09/03