X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=dump%2Fmain.c;h=b2922223de3d51b433602f9f1c30127e8f79903e;hp=eaf5457318acd9ee0e925ced293bd47f73dad101;hb=401a4d13e4c30d46074531c6c26efefcaf3bbdaf;hpb=52ed7d6e29b14c6ec0d7e4427c0b4c3c20084f1a diff --git a/dump/main.c b/dump/main.c index eaf5457..b292222 100644 --- a/dump/main.c +++ b/dump/main.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: main.c,v 1.33 2001/02/21 16:13:05 stelian Exp $"; + "$Id: main.c,v 1.34 2001/02/22 10:57:40 stelian Exp $"; #endif /* not lint */ #include @@ -49,6 +49,7 @@ static const char rcsid[] = #include #ifdef __linux__ #include +#include #include #include #else @@ -224,7 +225,7 @@ main(int argc, char *argv[]) } iexclude_list[iexclude_num++] = numarg("inode to exclude",0L,0L); if (iexclude_list[iexclude_num-1] <= ROOTINO) { - (void)fprintf(stderr, "Cannot exclude inode %ld\n", iexclude_list[iexclude_num-1]); + (void)fprintf(stderr, "Cannot exclude inode %ld\n", (long)iexclude_list[iexclude_num-1]); exit(X_STARTUP); } msg("Added %d to exclude list\n",