aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_conf.c
diff options
context:
space:
mode:
authorGleb Kurtsou <gleb@FreeBSD.org>2014-12-17 07:27:19 +0000
committerGleb Kurtsou <gleb@FreeBSD.org>2014-12-17 07:27:19 +0000
commitdde58752dbf08343d9b74b48ffabedbf5ca2e7e8 (patch)
tree49e07a33f717fc11a77f96d21126c8dd675b430b /sys/kern/kern_conf.c
parent9b3370541180604458bbc768f3fa6839ed4d938e (diff)
downloadsrc-dde58752dbf08343d9b74b48ffabedbf5ca2e7e8.tar.gz
src-dde58752dbf08343d9b74b48ffabedbf5ca2e7e8.zip
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
Notes
Notes: svn path=/head/; revision=275856
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 b1ae7a16ceab..d15e5dabe6b9 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);
}
}