From 49faea78b04139355f5a94c0d0bb72bb720ac31b Mon Sep 17 00:00:00 2001 From: Jagger Date: Sat, 17 Oct 2015 19:14:57 +0200 Subject: [PATCH] Use 0x%tx for uintptr_t --- cmdline.c | 2 +- contain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmdline.c b/cmdline.c index 6f1eac2..b027b9e 100644 --- a/cmdline.c +++ b/cmdline.c @@ -103,7 +103,7 @@ void cmdlineLogParams(struct nsjconf_t *nsjconf) struct mounts_t *p; LIST_FOREACH(p, &nsjconf->mountpts, pointers) { - LOG_I("Mount point: src:'%s' dst:'%s' type:'%s' flags:%tx options:'%s'", + LOG_I("Mount point: src:'%s' dst:'%s' type:'%s' flags:0x%tx options:'%s'", p->src, p->dst, p->fs_type, p->flags, p->options); } } diff --git a/contain.c b/contain.c index bf1421e..c70d0a3 100644 --- a/contain.c +++ b/contain.c @@ -183,7 +183,7 @@ bool containPrepareEnv(struct nsjconf_t * nsjconf) static bool containMount(struct mounts_t *mpt, const char *dst) { - LOG_D("Mounting '%s' on '%s' (type:'%s', flags:0x%zx)", mpt->src, dst, mpt->fs_type, + LOG_D("Mounting '%s' on '%s' (type:'%s', flags:0x%tx)", mpt->src, dst, mpt->fs_type, mpt->flags); if (mkdir(dst, 0711) == -1 && errno != EEXIST) {