dtrace: use %zu format specifier for data of size_t type
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
ad560dee55
commit
66b8eced97
@ -17106,7 +17106,7 @@ dtrace_attach(dev_info_t *devi, ddi_attach_cmd_t cmd)
|
||||
offsetof(dtrace_probe_t, dtpr_prevname));
|
||||
|
||||
if (dtrace_retain_max < 1) {
|
||||
cmn_err(CE_WARN, "illegal value (%lu) for dtrace_retain_max; "
|
||||
cmn_err(CE_WARN, "illegal value (%zu) for dtrace_retain_max; "
|
||||
"setting to 1", dtrace_retain_max);
|
||||
dtrace_retain_max = 1;
|
||||
}
|
||||
|
@ -119,7 +119,7 @@ dtrace_load(void *dummy)
|
||||
offsetof(dtrace_probe_t, dtpr_prevname));
|
||||
|
||||
if (dtrace_retain_max < 1) {
|
||||
cmn_err(CE_WARN, "illegal value (%lu) for dtrace_retain_max; "
|
||||
cmn_err(CE_WARN, "illegal value (%zu) for dtrace_retain_max; "
|
||||
"setting to 1", dtrace_retain_max);
|
||||
dtrace_retain_max = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user