Date: Tue, 9 Sep 2025 21:19:35 GMT From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f113980fe24f - main - cpucontrol: fix -DDEBUG build Message-ID: <202509092119.589LJZkO043963@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=f113980fe24fbbb95b75321cb916ed9d48771840 commit f113980fe24fbbb95b75321cb916ed9d48771840 Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2025-09-09 20:32:16 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2025-09-09 21:19:15 +0000 cpucontrol: fix -DDEBUG build --- usr.sbin/cpucontrol/cpucontrol.h | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/cpucontrol/cpucontrol.h b/usr.sbin/cpucontrol/cpucontrol.h index a4b3a94c19e6..d03c30a6bd6d 100644 --- a/usr.sbin/cpucontrol/cpucontrol.h +++ b/usr.sbin/cpucontrol/cpucontrol.h @@ -43,6 +43,7 @@ typedef void ucode_update_t(const struct ucode_update_params *params); extern int verbosity_level; #ifdef DEBUG +#include <stdio.h> # define WARNX(level, ...) \ if ((level) <= verbosity_level) { \ fprintf(stderr, "%s:%d ", __FILE__, __LINE__); \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509092119.589LJZkO043963>