X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=restore%2Frestore.c;h=d9561d810fd6ab892d7d4a1d39d4c1b3a76c84c1;hb=651fb4a593dfd7a31129b7feb8d5dbd57c6f145d;hp=c0e6b328fa0e1e46f0da72e7b1952e10bc8133fc;hpb=700b236e8f7d2d64fe86cb231f041f151a0fe02c;p=dump.git diff --git a/restore/restore.c b/restore/restore.c index c0e6b32..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.16 2001/04/12 13:14:15 stelian Exp $"; + "$Id: restore.c,v 1.18 2001/06/18 10:58:28 stelian Exp $"; #endif /* not lint */ #include @@ -51,7 +51,11 @@ static const char rcsid[] = #include #include #include +#ifdef HAVE_EXT2FS_EXT2_FS_H +#include +#else #include +#endif #include #else /* __linux__ */ #include @@ -497,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);