diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-09-01 17:08:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-09-01 17:08:23 +0000 |
commit | 24e373b7dc1e348161e9bdec0b1505a859da1a9a (patch) | |
tree | efd9f18a84df7155d0d36c01bb7128636b702369 /usr.bin | |
parent | 44c8d81b6a9974824d8b4d2284b8acf25797d2ac (diff) |
use commands("%s", buf); lukem
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ftp/cmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ftp/cmds.c b/usr.bin/ftp/cmds.c index c3bb0ecec55..f0a9f412abf 100644 --- a/usr.bin/ftp/cmds.c +++ b/usr.bin/ftp/cmds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmds.c,v 1.28 1998/06/08 19:48:56 millert Exp $ */ +/* $OpenBSD: cmds.c,v 1.29 1998/09/01 17:08:22 deraadt Exp $ */ /* $NetBSD: cmds.c,v 1.27 1997/08/18 10:20:15 lukem Exp $ */ /* @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)cmds.c 8.6 (Berkeley) 10/9/94"; #else -static char rcsid[] = "$OpenBSD: cmds.c,v 1.28 1998/06/08 19:48:56 millert Exp $"; +static char rcsid[] = "$OpenBSD: cmds.c,v 1.29 1998/09/01 17:08:22 deraadt Exp $"; #endif #endif /* not lint */ @@ -1479,7 +1479,7 @@ quote1(initial, argc, argv) /* Make double (tripple?) sure the sucker is NUL terminated */ buf[sizeof(buf) - 1] = '\0'; - if (command(buf) == PRELIM) { + if (command("%s", buf) == PRELIM) { while (getreply(0) == PRELIM) continue; } |