From: Stelian Pop Date: Wed, 18 Jul 2001 13:46:17 +0000 (+0000) Subject: Small fix when _not_ using -F script X-Git-Tag: release_0_4b23~6 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=fec671d14f580b0264f24b71735a728b467baf21;p=dump.git Small fix when _not_ using -F script --- diff --git a/restore/tape.c b/restore/tape.c index a8616a1..360cb17 100644 --- a/restore/tape.c +++ b/restore/tape.c @@ -46,7 +46,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.42 2001/07/18 12:54:06 stelian Exp $"; + "$Id: tape.c,v 1.43 2001/07/18 13:46:17 stelian Exp $"; #endif /* not lint */ #include @@ -383,7 +383,7 @@ getvol(long nextvol) union u_spcl tmpspcl; # define tmpbuf tmpspcl.s_spcl char buf[TP_BSIZE]; - int haderror = 0, bot_code; + int haderror = 0, bot_code = 1; if (nextvol == 1) { tapesread = 0;