Fix build with Clang.

error: format specifies type 'long long' but the argument
has type 'int64_t' (aka 'long')

Reported by:	Ed Maste
This commit is contained in:
Pedro F. Giffuni 2012-06-28 15:38:14 +00:00
parent 0a82eeb91c
commit db0cb5be21
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=237714

View File

@ -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);