Use 0x%tx for uintptr_t
This commit is contained in:
parent
500e3efbaf
commit
49faea78b0
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user