X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2Frestore.c;h=d9561d810fd6ab892d7d4a1d39d4c1b3a76c84c1;hp=86152040d158624e53693f007a812f138f7f6990;hb=e4a8bde40a6d8319d1b28e054e1a419ba3df2363;hpb=35b24fb7fabcf6df3b37aebf70c228d5b0688d32 diff --git a/restore/restore.c b/restore/restore.c index 8615204..d9561d8 100644 --- a/restore/restore.c +++ b/restore/restore.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: restore.c,v 1.15 2001/04/10 12:46:53 stelian Exp $"; + "$Id: restore.c,v 1.18 2001/06/18 10:58:28 stelian Exp $"; #endif /* not lint */ #include @@ -50,7 +50,12 @@ static const char rcsid[] = #ifdef __linux__ #include #include +#include +#ifdef HAVE_EXT2FS_EXT2_FS_H +#include +#else #include +#endif #include #else /* __linux__ */ #include @@ -496,7 +501,7 @@ nodeupdates(char *name, dump_ino_t ino, int type) * for it, we discard the name knowing that it will be on the * next incremental tape. */ - case NULL: + case 0: if (compare_ignore_not_found) break; fprintf(stderr, "%s: (inode %lu) not found on tape\n", name, (unsigned long)ino);