diff options
author | avg <avg@FreeBSD.org> | 2012-05-12 20:23:30 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2012-05-12 20:23:30 +0000 |
commit | 1218acb302eabe62732caff18eabb18eba54eff0 (patch) | |
tree | 84ed837d9ec194424ac194f2151ef28a0f9986ed /sys/boot/zfs/zfs.c | |
parent | b3431e25a4b0ce6aa77223ffbcea2ed5d24fa1d6 (diff) | |
download | FreeBSD-src-1218acb302eabe62732caff18eabb18eba54eff0.zip FreeBSD-src-1218acb302eabe62732caff18eabb18eba54eff0.tar.gz |
zfs boot code: use %j and uintmax_t instead %ll and uint64_t in printfs
This is to silence warnings that result from different definitions of
uint64_t on different architectures, specifically i386 and sparc64.
MFC after: 1 month
Diffstat (limited to 'sys/boot/zfs/zfs.c')
-rw-r--r-- | sys/boot/zfs/zfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/zfs/zfs.c b/sys/boot/zfs/zfs.c index c90e1c7..d474181 100644 --- a/sys/boot/zfs/zfs.c +++ b/sys/boot/zfs/zfs.c @@ -433,8 +433,8 @@ zfs_dev_open_spa(struct open_file *f, spa_t *spa, uint64_t root_guid) return (rv); } if (mount->objset.os_type != DMU_OST_ZFS) { - printf("Unexpected object set type %llu\n", - mount->objset.os_type); + printf("Unexpected object set type %ju\n", + (uintmax_t)mount->objset.os_type); free(mount); return (EIO); } |