summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-02-18 15:20:08 -0800
committerBrian Behlendorf <[email protected]>2009-02-18 15:20:08 -0800
commit9d4d22a26e06ffbbf7ea9e513458c202ddb78691 (patch)
treec5cfae916b59bb7c11ebb3cf99d59a64206fb6f7
parent930c6e053cc93c37e6d52e75c7433322947495ac (diff)
parent8c228734a3ee2578d5f12557dd36ba730e91fc22 (diff)
Merge branch 'gcc-cast' into refs/top-bases/gcc-branch
-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: