aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2025-02-01 13:16:47 +0000
committerEd Maste <emaste@FreeBSD.org>2025-02-04 16:58:41 +0000
commitecccb638d494f2642f1e2eae8ad932ba70567ccc (patch)
tree9ed87c89b6f32e6ddcea6c5d01a8bb5fa3276859
parent955f974a1a37cf3ae8b241327b1fef74c8932855 (diff)
mountd: Promote missing netmask log to LOG_ERR
Historical network classes are deprecated, but currently still supported in mountd with a LOG_WARNING-priority message added by Mike Karels in 2021. Upgrade the log to LOG_ERR well in advance of this becoming a fatal error. Reviewed by: rmacklem Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48795
-rw-r--r--usr.sbin/mountd/mountd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c
index 4457a925c2ed..19d76b72da10 100644
--- a/usr.sbin/mountd/mountd.c
+++ b/usr.sbin/mountd/mountd.c
@@ -1806,7 +1806,7 @@ get_exportlist_one(int passno)
len = endcp - cp;
}
if (opt_flags & OP_CLASSMASK)
- syslog(LOG_WARNING,
+ syslog(LOG_ERR,
"WARNING: No mask specified for %s, "
"using out-of-date default",
(&grp->gr_ptr.gt_net)->nt_name);