summaryrefslogtreecommitdiffstats
path: root/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'state.c')
-rw-r--r--state.c2
1 files changed, 1 insertions, 1 deletions
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();