summaryrefslogtreecommitdiffstats
path: root/lib/libzfs
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-02-18 15:15:56 -0800
committerBrian Behlendorf <[email protected]>2009-02-18 15:15:56 -0800
commit8c228734a3ee2578d5f12557dd36ba730e91fc22 (patch)
tree4aee84c12d46c40049326d03f1bc1362c312c002 /lib/libzfs
parente203e7b48f1539cbe7957728ea3aee248f4bb5e5 (diff)
Fix cast
Diffstat (limited to 'lib/libzfs')
-rw-r--r--lib/libzfs/libzfs_pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libzfs/libzfs_pool.c b/lib/libzfs/libzfs_pool.c
index 8c9a82fd1..1d2390150 100644
--- a/lib/libzfs/libzfs_pool.c
+++ b/lib/libzfs/libzfs_pool.c
@@ -228,7 +228,7 @@ zpool_get_prop(zpool_handle_t *zhp, zpool_prop_t prop, char *buf, size_t len,
case ZPOOL_PROP_GUID:
intval = zpool_get_prop_int(zhp, prop, &src);
- (void) snprintf(buf, len, "%llu", intval);
+ (void) snprintf(buf, len, "%llu", (u_longlong_t)intval);
break;
case ZPOOL_PROP_ALTROOT: