From: Derrick Brashear Date: Wed, 23 Jul 2003 17:30:11 +0000 (+0000) Subject: butc-notice-eot-20030723 X-Git-Tag: openafs-devel-1_3_50~109 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=1a2fa8bd5cca6d69f13b5da47cc175d6337dabcd;p=packages%2Fo%2Fopenafs.git butc-notice-eot-20030723 if we're going to check for BUTM_EOT, have a chance in hell of finding it. and not, say, 0. --- diff --git a/src/butc/dump.c b/src/butc/dump.c index 7ab911e59..603d0bebb 100644 --- a/src/butc/dump.c +++ b/src/butc/dump.c @@ -473,6 +473,7 @@ dumpVolume(struct tc_dumpDesc * curDump, struct dumpRock * dparamsPtr) * If we hit the end, see if this is the first volume on the tape or not. * Also, mark the tape as finished if the tape contains other dumps. */ + if (!code) code = rc; if (HITEOT(code)) { ErrorLog(2, taskId, code, tapeInfoPtr->error, "Warning: Dump (%s) hit end-of-tape inferred\n",