svn commit: r237714 -
head/cddl/contrib/opensolaris/lib/libdtrace/common
Pedro F. Giffuni
pfg at FreeBSD.org
Thu Jun 28 15:38:15 UTC 2012
Author: pfg
Date: Thu Jun 28 15:38:14 2012
New Revision: 237714
URL: http://svn.freebsd.org/changeset/base/237714
Log:
Fix build with Clang.
error: format specifies type 'long long' but the argument
has type 'int64_t' (aka 'long')
Reported by: Ed Maste
Modified:
head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c
Modified: head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c
==============================================================================
--- head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c Thu Jun 28 14:26:55 2012 (r237713)
+++ head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c Thu Jun 28 15:38:14 2012 (r237714)
@@ -761,7 +761,7 @@ dt_print_llquantize(dtrace_hdl_t *dtp, F
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);
More information about the svn-src-all
mailing list