X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=dump%2Ftape.c;h=a0cc7e32b18629b83fb7c2d5dafec246cc4280ac;hb=refs%2Ftags%2Frelease_0_4b10;hp=1b28c41e6e6307a9a9f662d36fc243c0b28045c3;hpb=4267a8ad1b9dd8362e02b8342a8e1dd9dc3fac76;p=dump.git diff --git a/dump/tape.c b/dump/tape.c index 1b28c41..a0cc7e3 100644 --- a/dump/tape.c +++ b/dump/tape.c @@ -40,7 +40,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.7 1999/11/02 09:35:56 tiniou Exp $"; + "$Id: tape.c,v 1.8 1999/11/21 02:24:47 tiniou Exp $"; #endif /* not lint */ #ifdef __linux__ @@ -81,9 +81,10 @@ static const char rcsid[] = int write(), read(); #endif -#ifdef __linux__ +#ifdef __linux__ #include #endif + #include "dump.h" int writesize; /* size of malloc()ed buffer for tape */ @@ -908,9 +909,9 @@ doslave(int cmd, int slave_number) quit("slave couldn't reopen disk: %s\n", strerror(errno)); #ifdef __linux__ ext2fs_close(fs); - retval = ext2fs_open(disk, 0, 0, 0, unix_io_manager, &fs); + retval = dump_fs_open(disk, &fs); if (retval) - quit("slave couldn't reopen disk: %s\n", strerror(errno)); + quit("slave couldn't reopen disk: %s\n", error_message(retval)); #endif /* __linux__ */ /*