Commit 69c69601 authored by Laurent Dufour's avatar Laurent Dufour Committed by Pavel Emelyanov

Fix minor printf format

In cr-restore printf() format is mixing "%p" and the prefix "0x" which is
already managed by "%p". This leads to log lines like:

(00.053282)  38744: Found bootstrap VMA hint at: 0x0x100000 (needs ~576K)
Signed-off-by: 's avatarLaurent Dufour <ldufour@linux.vnet.ibm.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 66f7d2f7
...@@ -2772,7 +2772,7 @@ static int sigreturn_restore(pid_t pid, struct task_restore_args *task_args, uns ...@@ -2772,7 +2772,7 @@ static int sigreturn_restore(pid_t pid, struct task_restore_args *task_args, uns
goto err; goto err;
} }
pr_info("Found bootstrap VMA hint at: 0x%p (needs ~%ldK)\n", pr_info("Found bootstrap VMA hint at: %p (needs ~%ldK)\n",
mem, KBYTES(task_args->bootstrap_len)); mem, KBYTES(task_args->bootstrap_len));
ret = remap_restorer_blob(mem); ret = remap_restorer_blob(mem);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment