X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Ftape.c;h=c5d9a661adccdf0fdadb72b2ec31a6446e58c689;hp=f59fc02b4770e7846e66cc449c7a3f9582cb59af;hb=ddf0df5b77e1a86207bf944b90ba70ac472df923;hpb=ac443b632165299e29371c630e2c630961379340 diff --git a/restore/tape.c b/restore/tape.c index f59fc02..c5d9a66 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -45,7 +45,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.16 2000/06/01 18:30:08 stelian Exp $"; + "$Id: tape.c,v 1.17 2000/06/03 22:24:18 stelian Exp $"; #endif /* not lint */ #include @@ -359,7 +359,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); @@ -384,7 +384,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")) {