Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/tftpd - complete renaming of -w to -c from 1.38
details: https://anonhg.NetBSD.org/src/rev/847f46c7bdd2
branches: trunk
changeset: 790351:847f46c7bdd2
user: jnemeth <jnemeth%NetBSD.org@localhost>
date: Fri Oct 04 07:51:48 2013 +0000
description:
- complete renaming of -w to -c from 1.38
- update usage string to match
- this fixes PR/48234 by Jeff Woodall
diffstat:
libexec/tftpd/tftpd.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 858b7ab447e0 -r 847f46c7bdd2 libexec/tftpd/tftpd.c
--- a/libexec/tftpd/tftpd.c Fri Oct 04 03:38:32 2013 +0000
+++ b/libexec/tftpd/tftpd.c Fri Oct 04 07:51:48 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tftpd.c,v 1.42 2013/07/04 02:58:20 christos Exp $ */
+/* $NetBSD: tftpd.c,v 1.43 2013/10/04 07:51:48 jnemeth Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -36,7 +36,7 @@
#if 0
static char sccsid[] = "@(#)tftpd.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: tftpd.c,v 1.42 2013/07/04 02:58:20 christos Exp $");
+__RCSID("$NetBSD: tftpd.c,v 1.43 2013/10/04 07:51:48 jnemeth Exp $");
#endif
#endif /* not lint */
@@ -142,7 +142,7 @@
{
syslog(LOG_ERR,
- "Usage: %s [-dln] [-g group] [-p pathsep] [-s directory] [-u user] [directory ...]",
+ "Usage: %s [-cdln] [-g group] [-p pathsep] [-s directory] [-u user] [directory ...]",
getprogname());
exit(1);
}
@@ -174,7 +174,7 @@
while ((ch = getopt(argc, argv, "cdg:lnp:s:u:")) != -1)
switch (ch) {
- case 'w':
+ case 'c':
unrestricted_writes = 1;
break;
Home |
Main Index |
Thread Index |
Old Index