Safer fix for building 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:
parent
b1754ad17b
commit
fed980b201
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=237716
@ -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), "< %ld", value);
|
||||
(void) snprintf(c, sizeof (c), "< %lld", (long long)value);
|
||||
|
||||
if (dt_printf(dtp, fp, "%16s ", c) < 0)
|
||||
return (-1);
|
||||
|
Loading…
Reference in New Issue
Block a user