diff options
author | 2012-05-21 13:14:30 +0000 | |
---|---|---|
committer | 2012-05-21 13:14:30 +0000 | |
commit | 8b2c7153694e4bcdb45f0e291b3bce8f7d3027e8 (patch) | |
tree | 58a1d144f6f9e0b0fafe552e59c7dcccbb27053f /usr.bin/tftp/main.c | |
parent | remove .cvsignore from cvs source dir, ok deraadt (diff) | |
download | wireguard-openbsd-8b2c7153694e4bcdb45f0e291b3bce8f7d3027e8.tar.xz wireguard-openbsd-8b2c7153694e4bcdb45f0e291b3bce8f7d3027e8.zip |
fix put usage
ok sthen@ henning@ dlg@
"looks right" deraadt@
Diffstat (limited to 'usr.bin/tftp/main.c')
-rw-r--r-- | usr.bin/tftp/main.c | 4 |
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()) |