Use 0x%tx for uintptr_t

This commit is contained in:
Jagger 2015-10-17 19:14:57 +02:00
parent 500e3efbaf
commit 49faea78b0
2 changed files with 2 additions and 2 deletions

View File

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

View File

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