Module Name: src
Committed By: rillig
Date: Sun Oct 16 16:37:16 UTC 2022
Modified Files:
src/usr.sbin/timed/timed: timed.c
Log Message:
timed: remove unhandled getopt option -P
No functional change, due to 'opterr = 0'.
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/timed/timed/timed.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/timed/timed/timed.c
diff -u src/usr.sbin/timed/timed/timed.c:1.27 src/usr.sbin/timed/timed/timed.c:1.28
--- src/usr.sbin/timed/timed/timed.c:1.27 Sun Oct 31 10:47:18 2021
+++ src/usr.sbin/timed/timed/timed.c Sun Oct 16 16:37:16 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: timed.c,v 1.27 2021/10/31 10:47:18 nia Exp $ */
+/* $NetBSD: timed.c,v 1.28 2022/10/16 16:37:16 rillig Exp $ */
/*-
* Copyright (c) 1985, 1993 The Regents of the University of California.
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1985, 19
#if 0
static char sccsid[] = "@(#)timed.c 8.2 (Berkeley) 3/26/95";
#else
-__RCSID("$NetBSD: timed.c,v 1.27 2021/10/31 10:47:18 nia Exp $");
+__RCSID("$NetBSD: timed.c,v 1.28 2022/10/16 16:37:16 rillig Exp $");
#endif
#endif /* not lint */
@@ -151,7 +151,7 @@ main(int argc, char *argv[])
iflag = OFF;
opterr = 0;
- while ((c = getopt(argc, argv, "Mtdn:i:F:G:P:")) != -1) {
+ while ((c = getopt(argc, argv, "Mtdn:i:F:G:")) != -1) {
switch (c) {
case 'M':
Mflag = 1;