]> git.wh0rd.org - dump.git/blobdiff - restore/interactive.c
Bug when dumping a previouslly mapped deleted and not reallocated directory inode.
[dump.git] / restore / interactive.c
index 1bfd201789c725f4b18bae862505c755502a817f..28b4d371861d2b7820e41ebfa3ab0f49d8061306 100644 (file)
@@ -2,7 +2,7 @@
  *     Ported to Linux's Second Extended File System as part of the
  *     dump and restore backup suit
  *     Remy Card <card@Linux.EU.Org>, 1994-1997
- *     Stelian Pop <pop@cybercable.fr>, 1999 
+ *     Stelian Pop <pop@cybercable.fr>, 1999-2000
  */
 
 /*
@@ -40,7 +40,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-       "$Id: interactive.c,v 1.6 1999/10/13 09:57:20 stelian Exp $";
+       "$Id: interactive.c,v 1.8 2000/01/21 10:17:41 stelian Exp $";
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -690,7 +690,7 @@ formatf(struct afile *list, int nentry)
                for (j = 0; j < columns; j++) {
                        fp = &list[j * lines + i];
                        if (vflag) {
-                               fprintf(stderr, "%*ld ", precision, fp->fnum);
+                               fprintf(stderr, "%*ld ", precision, (long)fp->fnum);
                                fp->len += precision + 1;
                        }
                        if (haveprefix) {