b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- a/monitor.c |
| 2 | +++ b/monitor.c |
| 3 | @@ -449,9 +449,9 @@ static int read_and_act(struct active_ar |
| 4 | } |
| 5 | |
| 6 | gettimeofday(&tv, NULL); |
| 7 | - dprintf("(%d): %ld.%06ld state:%s prev:%s action:%s prev: %s start:%llu\n", |
| 8 | + dprintf("(%d): %lld.%06ld state:%s prev:%s action:%s prev: %s start:%llu\n", |
| 9 | a->info.container_member, |
| 10 | - tv.tv_sec, tv.tv_usec, |
| 11 | + (long long)tv.tv_sec, (long)tv.tv_usec, |
| 12 | array_states[a->curr_state], |
| 13 | array_states[a->prev_state], |
| 14 | sync_actions[a->curr_action], |