Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/timed/timed timed: remove unhandled getopt option -P
details: https://anonhg.NetBSD.org/src/rev/78a861ba4985
branches: trunk
changeset: 371907:78a861ba4985
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Oct 16 16:37:16 2022 +0000
description:
timed: remove unhandled getopt option -P
No functional change, due to 'opterr = 0'.
diffstat:
usr.sbin/timed/timed/timed.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8febc4c9a728 -r 78a861ba4985 usr.sbin/timed/timed/timed.c
--- a/usr.sbin/timed/timed/timed.c Sun Oct 16 16:26:35 2022 +0000
+++ b/usr.sbin/timed/timed/timed.c Sun Oct 16 16:37:16 2022 +0000
@@ -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 @@
#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 @@
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;
Home |
Main Index |
Thread Index |
Old Index