From ecccb638d494f2642f1e2eae8ad932ba70567ccc Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Sat, 1 Feb 2025 08:16:47 -0500 Subject: [PATCH] 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 --- usr.sbin/mountd/mountd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/mountd/mountd.c b/usr.sbin/mountd/mountd.c index 4457a925c2e..19d76b72da1 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);