diff --git a/criu/fsnotify.c b/criu/fsnotify.c index 73dae3938..001f006bb 100644 --- a/criu/fsnotify.c +++ b/criu/fsnotify.c @@ -203,7 +203,7 @@ static int open_handle(unsigned int s_dev, unsigned long i_ino, decode_handle(&handle, f_handle); - pr_debug("Opening fhandle %x:%Lx...\n", + pr_debug("Opening fhandle %x:%llx...\n", s_dev, (unsigned long long)handle.__handle[0]); for (m = mntinfo; m; m = m->next) { diff --git a/criu/proc_parse.c b/criu/proc_parse.c index 79af2e36f..5e1f8529d 100644 --- a/criu/proc_parse.c +++ b/criu/proc_parse.c @@ -1782,7 +1782,7 @@ static int parse_fdinfo_pid_s(int pid, int fd, int type, void *arg) if (type != FD_TYPES__SIGNALFD) goto parse_err; - ret = sscanf(str, "sigmask: %Lx", + ret = sscanf(str, "sigmask: %llx", (unsigned long long *)&sfd->sigmask); if (ret != 1) goto parse_err; diff --git a/criu/signalfd.c b/criu/signalfd.c index bd117a3e0..1bb87d08c 100644 --- a/criu/signalfd.c +++ b/criu/signalfd.c @@ -52,7 +52,7 @@ static void sigset_fill(sigset_t *to, unsigned long long from) { int sig; - pr_info("\tCalculating sigmask for %Lx\n", from); + pr_info("\tCalculating sigmask for %llx\n", from); sigemptyset(to); for (sig = 1; sig < NSIG; sig++) if (from & (1ULL << (sig - 1))) { diff --git a/criu/uffd.c b/criu/uffd.c index 114118098..4a62ab4c1 100644 --- a/criu/uffd.c +++ b/criu/uffd.c @@ -1031,7 +1031,7 @@ static int handle_remove(struct lazy_pages_info *lpi, struct uffd_msg *msg) unreg.start = msg->arg.remove.start; unreg.len = msg->arg.remove.end - msg->arg.remove.start; - lp_debug(lpi, "%s: %Lx(%Lx)\n", + lp_debug(lpi, "%s: %llx(%llx)\n", msg->event == UFFD_EVENT_REMOVE ? "REMOVE" : "UNMAP", unreg.start, unreg.len);