summaryrefslogtreecommitdiff
path: root/usr.bin/tftp
diff options
context:
space:
mode:
authorGleydson Soares <gsoares@cvs.openbsd.org>2012-05-21 13:14:31 +0000
committerGleydson Soares <gsoares@cvs.openbsd.org>2012-05-21 13:14:31 +0000
commite8d0672880ca3f8bd4e52f222df152b4eca3f4d9 (patch)
tree2d257bb04a4cfb9ef465d7d7fd132e86ea0eaed8 /usr.bin/tftp
parent1d1ec9a1d9b8a8930c00be19833fe62a73d4847e (diff)
fix put usage
ok sthen@ henning@ dlg@ "looks right" deraadt@
Diffstat (limited to 'usr.bin/tftp')
-rw-r--r--usr.bin/tftp/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c
index ba9d854e55b..e69c0467189 100644
--- a/usr.bin/tftp/main.c
+++ b/usr.bin/tftp/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.32 2012/05/02 13:41:15 gsoares Exp $ */
+/* $OpenBSD: main.c,v 1.33 2012/05/21 13:14:30 gsoares Exp $ */
/* $NetBSD: main.c,v 1.6 1995/05/21 16:54:10 mycroft Exp $ */
/*
@@ -344,7 +344,7 @@ put(int argc, char *argv[])
char *cp, *targ;
if (argc < 2) {
- strlcpy(line, "send ", sizeof(line));
+ strlcpy(line, "put ", sizeof(line));
printf("(file) ");
readcmd(&line[strlen(line)], LBUFLEN - strlen(line), stdin);
if (makeargv())