summaryrefslogtreecommitdiffstats
path: root/cddl
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2012-06-28 15:38:14 +0000
committerpfg <pfg@FreeBSD.org>2012-06-28 15:38:14 +0000
commit2bb5abedc990575f567f541761a02207fdaf1829 (patch)
tree9369b02c080bbf6a15da44f47a5222df5e414f18 /cddl
parent4e2c64a98410ad24e31a1d3832cbc209b9e92fac (diff)
downloadFreeBSD-src-2bb5abedc990575f567f541761a02207fdaf1829.zip
FreeBSD-src-2bb5abedc990575f567f541761a02207fdaf1829.tar.gz
Fix build with Clang.
error: format specifies type 'long long' but the argument has type 'int64_t' (aka 'long') Reported by: Ed Maste
Diffstat (limited to 'cddl')
-rw-r--r--cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c
index 12b1794..3a20005 100644
--- a/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c
+++ b/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c
@@ -761,7 +761,7 @@ dt_print_llquantize(dtrace_hdl_t *dtp, FILE *fp, const void *addr,
step = next > nsteps ? next / nsteps : 1;
if (first_bin == 0) {
- (void) snprintf(c, sizeof (c), "< %lld", value);
+ (void) snprintf(c, sizeof (c), "< %ld", value);
if (dt_printf(dtp, fp, "%16s ", c) < 0)
return (-1);
OpenPOWER on IntegriCloud