aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2025-09-23 09:51:33 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2025-09-23 19:32:26 +0000
commitd5a5975f8430b15d3b40e4c54214701106b23b83 (patch)
tree11a63846601ef6b9e85ab34c5ae772092c583ce3
parentf221f410920df17a2044cd47a23a6f2a1268b44a (diff)
newsyslog: remove leftovers of 20-year old debugging code
-rw-r--r--usr.sbin/newsyslog/newsyslog.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c
index 7ebdd7cbc0dd..0c8c2c85b893 100644
--- a/usr.sbin/newsyslog/newsyslog.c
+++ b/usr.sbin/newsyslog/newsyslog.c
@@ -837,13 +837,6 @@ parse_doption(const char *doption)
return (1); /* successfully parsed */
}
- /* XXX - This check could probably be dropped. */
- if ((strcmp(doption, "neworder") == 0) || (strcmp(doption, "oldorder")
- == 0)) {
- warnx("NOTE: newsyslog always uses 'neworder'.");
- return (1); /* successfully parsed */
- }
-
warnx("Unknown -D (debug) option: '%s'", doption);
return (0); /* failure */
}