diff options
author | gleb <gleb@FreeBSD.org> | 2014-12-17 07:27:19 +0000 |
---|---|---|
committer | gleb <gleb@FreeBSD.org> | 2014-12-17 07:27:19 +0000 |
commit | 5c99f46b3bbc601b0b935944e170948c781a073e (patch) | |
tree | 49e07a33f717fc11a77f96d21126c8dd675b430b /sys/security/mac_lomac | |
parent | 9bea39ca06cc5b3fe0c12d90363acdb8aa931771 (diff) | |
download | FreeBSD-src-5c99f46b3bbc601b0b935944e170948c781a073e.zip FreeBSD-src-5c99f46b3bbc601b0b935944e170948c781a073e.tar.gz |
Adjust printf format specifiers for dev_t and ino_t in kernel.
ino_t and dev_t are about to become uint64_t.
Reviewed by: kib, mckusick
Diffstat (limited to 'sys/security/mac_lomac')
-rw-r--r-- | sys/security/mac_lomac/mac_lomac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac_lomac/mac_lomac.c b/sys/security/mac_lomac/mac_lomac.c index cf66423..32ae223 100644 --- a/sys/security/mac_lomac/mac_lomac.c +++ b/sys/security/mac_lomac/mac_lomac.c @@ -559,11 +559,11 @@ maybe_demote(struct mac_lomac *subjlabel, struct mac_lomac *objlabel, pgid = p->p_pgrp->pg_id; /* XXX could be stale? */ if (vp != NULL && VOP_GETATTR(vp, &va, curthread->td_ucred) == 0) { log(LOG_INFO, "LOMAC: level-%s subject p%dg%du%d:%s demoted to" - " level %s after %s a level-%s %s (inode=%ld, " + " level %s after %s a level-%s %s (inode=%ju, " "mountpount=%s)\n", subjlabeltext, p->p_pid, pgid, curthread->td_ucred->cr_uid, p->p_comm, subjtext, actionname, objlabeltext, objname, - va.va_fileid, vp->v_mount->mnt_stat.f_mntonname); + (uintmax_t)va.va_fileid, vp->v_mount->mnt_stat.f_mntonname); } else { log(LOG_INFO, "LOMAC: level-%s subject p%dg%du%d:%s demoted to" " level %s after %s a level-%s %s\n", |