aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2024-11-21 15:22:27 +0000
committerEd Maste <emaste@FreeBSD.org>2024-11-21 15:26:40 +0000
commit6b62e00da4ad0624fce5e6f0b5b39a6f44c8ba60 (patch)
tree0f13cdd3e707bd74063c7daef3820381fd5aae91
parent7d929a444587540205e27caacf72377169611cdf (diff)
downloadsrc-6b62e00da4ad0624fce5e6f0b5b39a6f44c8ba60.tar.gz
src-6b62e00da4ad0624fce5e6f0b5b39a6f44c8ba60.zip
mac_bsdextended: Remove \n from sysctl descriptions
sysctl(8) prints a newline after the description; the description should not end with one itself. Sponsored by: The FreeBSD Foundation
-rw-r--r--sys/security/mac_bsdextended/mac_bsdextended.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/security/mac_bsdextended/mac_bsdextended.c b/sys/security/mac_bsdextended/mac_bsdextended.c
index d143901330a1..95efc537735a 100644
--- a/sys/security/mac_bsdextended/mac_bsdextended.c
+++ b/sys/security/mac_bsdextended/mac_bsdextended.c
@@ -88,11 +88,11 @@ static int rule_slots = 0;
static int rule_version = MB_VERSION;
SYSCTL_INT(_security_mac_bsdextended, OID_AUTO, rule_count, CTLFLAG_RD,
- &rule_count, 0, "Number of defined rules\n");
+ &rule_count, 0, "Number of defined rules");
SYSCTL_INT(_security_mac_bsdextended, OID_AUTO, rule_slots, CTLFLAG_RD,
- &rule_slots, 0, "Number of used rule slots\n");
+ &rule_slots, 0, "Number of used rule slots");
SYSCTL_INT(_security_mac_bsdextended, OID_AUTO, rule_version, CTLFLAG_RD,
- &rule_version, 0, "Version number for API\n");
+ &rule_version, 0, "Version number for API");
/*
* This is just used for logging purposes, eventually we would like to log