Module Name: src Committed By: jnemeth Date: Fri Oct 4 07:51:48 UTC 2013
Modified Files: src/libexec/tftpd: tftpd.c Log Message: - complete renaming of -w to -c from 1.38 - update usage string to match - this fixes PR/48234 by Jeff Woodall To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/libexec/tftpd/tftpd.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/libexec/tftpd/tftpd.c diff -u src/libexec/tftpd/tftpd.c:1.42 src/libexec/tftpd/tftpd.c:1.43 --- src/libexec/tftpd/tftpd.c:1.42 Thu Jul 4 02:58:20 2013 +++ src/libexec/tftpd/tftpd.c Fri Oct 4 07:51:48 2013 @@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 19 #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 @@ usage(void) { 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 @@ main(int argc, char *argv[]) while ((ch = getopt(argc, argv, "cdg:lnp:s:u:")) != -1) switch (ch) { - case 'w': + case 'c': unrestricted_writes = 1; break;