mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
pie/restorer: remove excess hash printf specifier
We use here "%#x" printf specifier in pie code, but sbuf_printf core pie
printing function knows nothing about '#' specifier. More over simple
"%x" in pie does same as "%#x" in stdio printf, see print_hex* functions
add "0x" before hex numbers.
We've got this error on vzt-cpt runs in Virtuozzo:
(04.750271) pie: 158: Adjust id
Error: Unknown printf format %#
So to fix it we can just remove '#'.
Fixes: ecd432fe2
("timerfd: Implement c/r procedure")
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
committed by
Andrei Vagin
parent
bffaa7d072
commit
7ba4d3bf1d
@@ -1013,7 +1013,7 @@ static int timerfd_arm(struct task_restore_args *args)
|
|||||||
|
|
||||||
t->val.it_value.tv_sec += (time_t)ts.tv_sec;
|
t->val.it_value.tv_sec += (time_t)ts.tv_sec;
|
||||||
|
|
||||||
pr_debug("Adjust id %#x it_value(%llu, %llu) -> it_value(%llu, %llu)\n", t->id,
|
pr_debug("Adjust id %x it_value(%llu, %llu) -> it_value(%llu, %llu)\n", t->id,
|
||||||
(unsigned long long)ts.tv_sec, (unsigned long long)ts.tv_nsec,
|
(unsigned long long)ts.tv_sec, (unsigned long long)ts.tv_nsec,
|
||||||
(unsigned long long)t->val.it_value.tv_sec,
|
(unsigned long long)t->val.it_value.tv_sec,
|
||||||
(unsigned long long)t->val.it_value.tv_nsec);
|
(unsigned long long)t->val.it_value.tv_nsec);
|
||||||
|
Reference in New Issue
Block a user