Date: Mon, 22 Sep 2025 16:11:55 GMT From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 7a7fbb13f546 - stable/15 - cpucontrol: fix -DDEBUG build Message-ID: <202509221611.58MGBt75070297@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/15 has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=7a7fbb13f546e15cabb622feaf3acbb9847578e7 commit 7a7fbb13f546e15cabb622feaf3acbb9847578e7 Author: Gleb Smirnoff <glebius@FreeBSD.org> AuthorDate: 2025-09-09 20:32:16 +0000 Commit: Gleb Smirnoff <glebius@FreeBSD.org> CommitDate: 2025-09-22 16:11:33 +0000 cpucontrol: fix -DDEBUG build (cherry picked from commit f113980fe24fbbb95b75321cb916ed9d48771840) --- 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?202509221611.58MGBt75070297>