mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-25 06:26:15 +00:00
32671b36a1
Backport three patches, add one for GCC14, and add Alpine time_t patch for musl. Signed-off-by: Rosen Penev <rosenp@gmail.com>
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],
|