diff options
author | 2003-09-29 11:23:38 +0000 | |
---|---|---|
committer | 2003-09-29 11:23:38 +0000 | |
commit | e82ae7ee7cd3bc0523166f9efa60d2459c1cf1c6 (patch) | |
tree | 83e102cb0b1656c8fdd89f0e6928533339f67758 /usr.bin/tftp/main.c | |
parent | Make this compile. (diff) | |
download | wireguard-openbsd-e82ae7ee7cd3bc0523166f9efa60d2459c1cf1c6.tar.xz wireguard-openbsd-e82ae7ee7cd3bc0523166f9efa60d2459c1cf1c6.zip |
correction to SYNOPSIS and usage(): host argument must be specified
if using port argument;
from simon@freebsd
Diffstat (limited to 'usr.bin/tftp/main.c')
-rw-r--r-- | usr.bin/tftp/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c index 16d04510fe1..fae92fc6342 100644 --- a/usr.bin/tftp/main.c +++ b/usr.bin/tftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.19 2003/09/25 09:45:46 jmc Exp $ */ +/* $OpenBSD: main.c,v 1.20 2003/09/29 11:23:38 jmc Exp $ */ /* $NetBSD: main.c,v 1.6 1995/05/21 16:54:10 mycroft Exp $ */ /* @@ -40,7 +40,7 @@ static const char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93"; #endif -static const char rcsid[] = "$OpenBSD: main.c,v 1.19 2003/09/25 09:45:46 jmc Exp $"; +static const char rcsid[] = "$OpenBSD: main.c,v 1.20 2003/09/29 11:23:38 jmc Exp $"; #endif /* not lint */ /* Many bug fixes are from Jim Guyton <guyton@rand-unix> */ @@ -196,7 +196,7 @@ setpeer(int argc, char *argv[]) argv = margv; } if ((argc < 2) || (argc > 3)) { - printf("usage: %s [host] [port]\n", argv[0]); + printf("usage: %s [host [port]]\n", argv[0]); return; } if (inet_aton(argv[1], &peeraddr.sin_addr) != 0) { |