summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/newsyslog/newsyslog.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.c b/usr.sbin/newsyslog/newsyslog.c
index ab3cad4..ea99374 100644
--- a/usr.sbin/newsyslog/newsyslog.c
+++ b/usr.sbin/newsyslog/newsyslog.c
@@ -805,6 +805,14 @@ parse_doption(const char *doption)
#endif
return (1); /* successfully parsed */
}
+ if (strcmp(doption, "oldorder") == 0) {
+#ifdef TRY_NEWORDER
+ dbg_new_order = 0;
+#else
+ warnx("NOTE: The code for 'neworder' was not compiled in.");
+#endif
+ return (1); /* successfully parsed */
+ }
warnx("Unknown -D (debug) option: '%s'", doption);
return (0); /* failure */
OpenPOWER on IntegriCloud