From: Derrick Brashear Date: Wed, 23 Jul 2003 17:30:36 +0000 (+0000) Subject: STABLE12-butc-notice-eot-20030723 X-Git-Tag: openafs-stable-1_2_10~8 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a212a5b01a7a53b8bcf40301f93544b2ee9b5343;p=packages%2Fo%2Fopenafs.git STABLE12-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. (cherry picked from commit 1a2fa8bd5cca6d69f13b5da47cc175d6337dabcd) --- diff --git a/src/butc/dump.c b/src/butc/dump.c index 10fdc67c8..8707d93c0 100644 --- a/src/butc/dump.c +++ b/src/butc/dump.c @@ -455,6 +455,7 @@ error_exit: * 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",