- msg("Date of this level %c dump: %s", level,
-#ifdef __linux
- spcl.c_date == 0 ? "the epoch\n" : ctime4(&spcl.c_date));
+ if (spcl.c_ddate == 0 && spcl.c_level) {
+ msg("WARNING: There is no inferior level dump on this filesystem\n");
+ msg("WARNING: Assuming a level 0 dump by default\n");
+ level = '0';
+ spcl.c_level = 0;
+ }
+
+ if (Mflag)
+ snprintf(tape, NAME_MAX, "%s%03d", tapeprefix, tapeno + 1);
+ else
+ strncpy(tape, tapeprefix, NAME_MAX);
+ tape[NAME_MAX - 1] = '\0';
+
+ if (!sizest) {
+
+ msg("Date of this level %c dump: %s", level,
+#ifdef __linux__
+ spcl.c_date == 0 ? "the epoch\n" : ctime4(&spcl.c_date));