summaryrefslogtreecommitdiff
path: root/sbin/restore/tape.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-16 16:43:19 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-06-16 16:43:19 +0000
commitf004c4deb9ef5e0c6a52e1f7c73881c0c82b8bc2 (patch)
tree906be49375cf649a530b9aed2a9eb41c9149211f /sbin/restore/tape.c
parent47836b4e59321826b8e38efc3622ad845ddf6ff3 (diff)
use TP_BSIZE (== BUFSIZ so no problem)
Diffstat (limited to 'sbin/restore/tape.c')
-rw-r--r--sbin/restore/tape.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/restore/tape.c b/sbin/restore/tape.c
index a2f93490cb3..29d64ab28d8 100644
--- a/sbin/restore/tape.c
+++ b/sbin/restore/tape.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tape.c,v 1.14 1999/08/17 09:13:15 millert Exp $ */
+/* $OpenBSD: tape.c,v 1.15 2000/06/16 16:43:18 deraadt Exp $ */
/* $NetBSD: tape.c,v 1.26 1997/04/15 07:12:25 lukem Exp $ */
/*
@@ -320,7 +320,7 @@ again:
do {
fprintf(stderr, "Specify next volume #: ");
(void)fflush(stderr);
- (void)fgets(buf, BUFSIZ, terminal);
+ (void)fgets(buf, TP_BSIZE, terminal);
} while (!feof(terminal) && buf[0] == '\n');
if (feof(terminal))
exit(1);
@@ -339,7 +339,7 @@ again:
fprintf(stderr, "Enter ``none'' if there are no more tapes\n");
fprintf(stderr, "otherwise enter tape name (default: %s) ", magtape);
(void)fflush(stderr);
- (void)fgets(buf, BUFSIZ, terminal);
+ (void)fgets(buf, TP_BSIZE, terminal);
if (feof(terminal))
exit(1);
if (!strcmp(buf, "none\n")) {