From a225069b4d152f2569b3e93a1df45c2874e86bea Mon Sep 17 00:00:00 2001 From: Jagger Date: Fri, 22 Jan 2016 00:50:45 +0100 Subject: [PATCH] Use %#x instead of %u --- subproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subproc.c b/subproc.c index c48bc93..74e56ce 100644 --- a/subproc.c +++ b/subproc.c @@ -219,7 +219,7 @@ void subprocRunChild(struct nsjconf_t *nsjconf, int fd_in, int fd_out, int fd_er } LOG_D("Entering namespace with flags: %#x", flags); if (unshare(flags) == -1) { - PLOG_E("unshare(%u)", flags); + PLOG_E("unshare(%#x)", flags); _exit(EXIT_FAILURE); } subprocNewProc(nsjconf, fd_in, fd_out, fd_err, -1);