]> git.wh0rd.org - dump.git/blobdiff - restore/restore.c
New config.guess and config.sub version, + minor cleanup.
[dump.git] / restore / restore.c
index 86152040d158624e53693f007a812f138f7f6990..0be2db19a30c4052b2572437ef37f6a6c4b3da72 100644 (file)
@@ -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.17 2001/04/26 08:28:29 stelian Exp $";
 #endif /* not lint */
 
 #include <config.h>
@@ -50,6 +50,7 @@ static const char rcsid[] =
 #ifdef __linux__
 #include <sys/param.h>
 #include <sys/time.h>
+#include <time.h>
 #include <linux/ext2_fs.h>
 #include <bsdcompat.h>
 #else  /* __linux__ */
@@ -496,7 +497,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);