Date: Sun, 8 Aug 2021 21:27:12 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 66b8eced9723 - main - dtrace: use %zu format specifier for data of size_t type Message-ID: <202108082127.178LRCXH054894@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=66b8eced9723b5b1fa5b05b286a9312a4d32237b commit 66b8eced9723b5b1fa5b05b286a9312a4d32237b Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-08-08 21:25:49 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-08-08 21:27:04 +0000 dtrace: use %zu format specifier for data of size_t type Sponsored by: The FreeBSD Foundation --- sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c | 2 +- sys/cddl/dev/dtrace/dtrace_load.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c b/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c index ca6fa5481856..a59edb05e2b6 100644 --- a/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c +++ b/sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c @@ -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; } diff --git a/sys/cddl/dev/dtrace/dtrace_load.c b/sys/cddl/dev/dtrace/dtrace_load.c index 029af60d1cd8..232d7df6999c 100644 --- a/sys/cddl/dev/dtrace/dtrace_load.c +++ b/sys/cddl/dev/dtrace/dtrace_load.c @@ -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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108082127.178LRCXH054894>