aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_mib.c
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2013-02-02 11:58:35 +0000
committerAndriy Gapon <avg@FreeBSD.org>2013-02-02 11:58:35 +0000
commitbfdcb3bcba3a0364301c4c3dc7820ef1f689e8ea (patch)
tree5fe5409fc64e39a2a675fe3e675ce8e6a9c61fe8 /sys/kern/kern_mib.c
parent499f60b10b6c85bc7d196723c8d310ed5994d076 (diff)
downloadsrc-bfdcb3bcba3a0364301c4c3dc7820ef1f689e8ea.tar.gz
src-bfdcb3bcba3a0364301c4c3dc7820ef1f689e8ea.zip
Notes
Diffstat (limited to 'sys/kern/kern_mib.c')
-rw-r--r--sys/kern/kern_mib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c
index 29864a891b6f..36cc4b088b57 100644
--- a/sys/kern/kern_mib.c
+++ b/sys/kern/kern_mib.c
@@ -99,6 +99,9 @@ SYSCTL_INT(_kern, KERN_OSREV, osrevision, CTLFLAG_RD|CTLFLAG_CAPRD,
SYSCTL_STRING(_kern, KERN_VERSION, version, CTLFLAG_RD|CTLFLAG_MPSAFE,
version, 0, "Kernel version");
+SYSCTL_STRING(_kern, KERN_VERSION, compiler_version, CTLFLAG_RD|CTLFLAG_MPSAFE,
+ compiler_version, 0, "Version of compiler used to compile kernel");
+
SYSCTL_STRING(_kern, KERN_OSTYPE, ostype, CTLFLAG_RD|CTLFLAG_MPSAFE|
CTLFLAG_CAPRD, ostype, 0, "Operating system type");