diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-09-10 18:38:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-09-10 18:38:10 +0000 |
commit | 0abcfa38045758aae5bf3f7a0b7d88c2966261ee (patch) | |
tree | 1dc3f426072ed4f38db2ef6fd7ad8acc70c103c9 /usr.sbin | |
parent | ef1277e91c71bcc8ea63904216b67eb7ef585b4d (diff) |
overzealous cut-and-paste by me a week ago
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/named/nslookup/list.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/named/nslookup/list.c b/usr.sbin/named/nslookup/list.c index 4d4a8f1b75d..3cb090835dd 100644 --- a/usr.sbin/named/nslookup/list.c +++ b/usr.sbin/named/nslookup/list.c @@ -1,4 +1,4 @@ -/* $OpenBSD: list.c,v 1.4 1998/08/31 18:58:36 deraadt Exp $ */ +/* $OpenBSD: list.c,v 1.5 1998/09/10 18:38:09 deraadt Exp $ */ /* * ++Copyright++ 1985, 1989 @@ -60,7 +60,7 @@ static char sccsid[] = "@(#)list.c 5.23 (Berkeley) 3/21/91"; static char rcsid[] = "$From: list.c,v 8.9 1996/11/26 10:11:26 vixie Exp $"; #else -static char rcsid[] = "$OpenBSD: list.c,v 1.4 1998/08/31 18:58:36 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: list.c,v 1.5 1998/09/10 18:38:09 deraadt Exp $"; #endif #endif /* not lint */ @@ -202,7 +202,7 @@ ListHosts(string, putToFile) * Parse the command line. It maybe of the form "ls domain", * "ls -X domain". */ - snprintf(get, sizeof get, " ls -t %%%ds %%%ds", sizeof option-1, + snprintf(get, sizeof get, " ls %%%ds %%%ds", sizeof option-1, sizeof name-1); i = sscanf(string, get, option, name); if (putToFile && i == 2 && name[0] == '>') { |