From f004c4deb9ef5e0c6a52e1f7c73881c0c82b8bc2 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Fri, 16 Jun 2000 16:43:19 +0000 Subject: use TP_BSIZE (== BUFSIZ so no problem) --- sbin/restore/tape.c | 6 +++--- 1 file 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")) { -- cgit v1.2.3