aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2026-06-17 07:12:29 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2026-06-17 08:20:25 +0000
commit9889fac5b82c8de5b55c9ae708d57bc64c10c87a (patch)
treea290e2fb5627260cca90dca133ba65e4d11ab872
parent554a459ff59969e0f66b1b1c6695d249e2eecd84 (diff)
kern_linker.c: re-apply some more bits from db887713de2bf5
The definition of the EXTERR_CATEGORY symbol in the .c file is needed for the script to regenerate identical context of gen/exterr_cat_filenames.h. Sponsored by: The FreeBSD Foundation
-rw-r--r--sys/kern/kern_linker.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c
index 9559b5233a3e..b183d18eaea6 100644
--- a/sys/kern/kern_linker.c
+++ b/sys/kern/kern_linker.c
@@ -32,10 +32,12 @@
#include "opt_hwpmc_hooks.h"
#include "opt_hwt_hooks.h"
+#define EXTERR_CATEGORY EXTERR_CAT_LINKER
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/boottrace.h>
#include <sys/eventhandler.h>
+#include <sys/exterrvar.h>
#include <sys/fcntl.h>
#include <sys/jail.h>
#include <sys/kernel.h>