X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=dump%2Ftape.c;h=e81a58d149d47a8fb3391f0bd999900ead915797;hp=39d8b4caae4023890c9be13f6604ac8faf851391;hb=1df5d2e8371b4c1dd570fda41ec418b6a5836d1a;hpb=7ad0e4095900bf99e57eedf254d7162ef5112f43 diff --git a/dump/tape.c b/dump/tape.c index 39d8b4c..e81a58d 100644 --- a/dump/tape.c +++ b/dump/tape.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.65 2002/03/11 10:17:43 stelian Exp $"; + "$Id: tape.c,v 1.66 2002/03/27 16:48:38 stelian Exp $"; #endif /* not lint */ #include @@ -872,7 +872,8 @@ restore_check_point: OPEN(tape, O_RDWR|O_CREAT, 0666))) < 0) #endif { - msg("Cannot open output \"%s\".\n", tape); + msg("Cannot open output \"%s\": %s\n", tape, + strerror(errno)); if (!query("Do you want to retry the open?")) dumpabort(0); }