projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eed8e77
)
Fix event type reporting when calling 'procd_shutdown'.
author
Yousong Zhou
<yszhou4tech@gmail.com>
Tue, 23 Jul 2013 08:28:40 +0000
(16:28 +0800)
committer
John Crispin
<blogic@openwrt.org>
Tue, 23 Jul 2013 10:24:31 +0000
(12:24 +0200)
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
state.c
patch
|
blob
|
history
diff --git
a/state.c
b/state.c
index 9cde905619bdac8348a8a8ebbc00cfcc7099ebb2..90e883c50c5fb2dee1cd009b098c9247bf76620e 100644
(file)
--- 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();