mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
15 lines
478 B
Diff
15 lines
478 B
Diff
|
--- a/monitor.c
|
||
|
+++ b/monitor.c
|
||
|
@@ -449,9 +449,9 @@ static int read_and_act(struct active_ar
|
||
|
}
|
||
|
|
||
|
gettimeofday(&tv, NULL);
|
||
|
- dprintf("(%d): %ld.%06ld state:%s prev:%s action:%s prev: %s start:%llu\n",
|
||
|
+ dprintf("(%d): %lld.%06ld state:%s prev:%s action:%s prev: %s start:%llu\n",
|
||
|
a->info.container_member,
|
||
|
- tv.tv_sec, tv.tv_usec,
|
||
|
+ (long long)tv.tv_sec, (long)tv.tv_usec,
|
||
|
array_states[a->curr_state],
|
||
|
array_states[a->prev_state],
|
||
|
sync_actions[a->curr_action],
|