summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_conf.c
diff options
context:
space:
mode:
authorgleb <gleb@FreeBSD.org>2014-12-17 07:27:19 +0000
committergleb <gleb@FreeBSD.org>2014-12-17 07:27:19 +0000
commit5c99f46b3bbc601b0b935944e170948c781a073e (patch)
tree49e07a33f717fc11a77f96d21126c8dd675b430b /sys/kern/kern_conf.c
parent9bea39ca06cc5b3fe0c12d90363acdb8aa931771 (diff)
downloadFreeBSD-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/kern/kern_conf.c')
-rw-r--r--sys/kern/kern_conf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index b1ae7a1..d15e5da 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -1292,7 +1292,8 @@ clone_cleanup(struct clonedevs **cdp)
if (!(cp->cdp_flags & CDP_SCHED_DTR)) {
cp->cdp_flags |= CDP_SCHED_DTR;
KASSERT(dev->si_flags & SI_NAMED,
- ("Driver has goofed in cloning underways udev %x unit %x", dev2udev(dev), dev2unit(dev)));
+ ("Driver has goofed in cloning underways udev %jx unit %x",
+ (uintmax_t)dev2udev(dev), dev2unit(dev)));
destroy_devl(dev);
}
}
OpenPOWER on IntegriCloud