diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2013-07-23 10:28:40 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-07-23 12:24:31 +0200 |
commit | df1b0c3512fe6af3724536b45f07fb86ad166585 (patch) | |
tree | 1c298731770ae66e4401418cfb472c838a132513 | |
parent | eed8e77dcf5b9ce9c21919ea6d549b5dd92bb18a (diff) | |
download | unitd-df1b0c3512fe6af3724536b45f07fb86ad166585.tar unitd-df1b0c3512fe6af3724536b45f07fb86ad166585.zip |
Fix event type reporting when calling 'procd_shutdown'.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r-- | state.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -88,7 +88,7 @@ void procd_state_next(void) void procd_shutdown(int event) { - DEBUG(1, "Shutting down system with event %x\n", reboot_event); + DEBUG(1, "Shutting down system with event %x\n", event); reboot_event = event; state = STATE_SHUTDOWN; state_enter(); |