From df1b0c3512fe6af3724536b45f07fb86ad166585 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Tue, 23 Jul 2013 16:28:40 +0800 Subject: [PATCH] Fix event type reporting when calling 'procd_shutdown'. Signed-off-by: Yousong Zhou --- state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state.c b/state.c index 9cde905..90e883c 100644 --- a/state.c +++ b/state.c @@ -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(); -- 2.25.1