mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-18 00:58:31 +00:00
page-read: fixed format strings
Use the format specifier PRIx64 instead of %lx to print an off_t integer. Signed-off-by: Alexander Kartashov <alekskartashov@parallels.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
cb9094d810
commit
4d4543f66e
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ static int read_pagemap_page(struct page_read *pr, unsigned long vaddr, void *bu
|
|||
pr_debug("\tpr%u Read page %lx from parent\n", pr->id, vaddr);
|
||||
ret = read_pagemap_page_from_parent(pr->parent, vaddr, buf);
|
||||
} else {
|
||||
pr_debug("\tpr%u Read page %lx from self %lx/%lx\n", pr->id,
|
||||
pr_debug("\tpr%u Read page %lx from self %lx/%"PRIx64"\n", pr->id,
|
||||
vaddr, pr->cvaddr, lseek(pr->fd_pg, 0, SEEK_CUR));
|
||||
ret = read(pr->fd_pg, buf, PAGE_SIZE);
|
||||
if (ret != PAGE_SIZE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue