Use %#x instead of %u

This commit is contained in:
Jagger 2016-01-22 00:50:45 +01:00
parent c3298d0019
commit a225069b4d

View File

@ -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);