X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=state.c;h=90e883c50c5fb2dee1cd009b098c9247bf76620e;hp=9cde905619bdac8348a8a8ebbc00cfcc7099ebb2;hb=df1b0c3512fe6af3724536b45f07fb86ad166585;hpb=eed8e77dcf5b9ce9c21919ea6d549b5dd92bb18a 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();