From 1a2fa8bd5cca6d69f13b5da47cc175d6337dabcd Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Wed, 23 Jul 2003 17:30:11 +0000 Subject: [PATCH] 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. --- src/butc/dump.c | 1 + 1 file changed, 1 insertion(+) 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", -- 2.39.5