From fd39fc67d0f6fd4f9982dad079cc8910c8465f78 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 8 Dec 2008 10:18:11 -0800 Subject: [PATCH] Fix invalid %llf format by dropping useless ll prefix --- zfs/lib/libnvpair/libnvpair.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zfs/lib/libnvpair/libnvpair.c b/zfs/lib/libnvpair/libnvpair.c index 0845cb08cf..1f989c4bdb 100644 --- a/zfs/lib/libnvpair/libnvpair.c +++ b/zfs/lib/libnvpair/libnvpair.c @@ -141,7 +141,7 @@ nvlist_print_with_indent(FILE *fp, nvlist_t *nvl, int depth) case DATA_TYPE_DOUBLE: { double val; (void) nvpair_value_double(nvp, &val); - (void) fprintf(fp, " 0x%llf", val); + (void) fprintf(fp, " %f", val); break; } case DATA_TYPE_STRING: {