X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=dump%2Fmain.c;h=bdc31f4f9550600c47c2a05c1c32a58c37a322b2;hb=8096304ebfb616914df99e42e4dd78dbce667188;hp=e1d3db366f67da6e606b922263e438af8fd20852;hpb=b82d31dc01e8474d503a86fbf52ddf6d74c245e6;p=dump.git diff --git a/dump/main.c b/dump/main.c index e1d3db3..bdc31f4 100644 --- a/dump/main.c +++ b/dump/main.c @@ -41,7 +41,7 @@ #ifndef lint static const char rcsid[] = - "$Id: main.c,v 1.61 2001/11/11 00:06:39 stelian Exp $"; + "$Id: main.c,v 1.63 2002/01/05 23:23:02 stelian Exp $"; #endif /* not lint */ #include @@ -675,7 +675,7 @@ main(int argc, char *argv[]) tp_bshift = ffs(TP_BSIZE) - 1; if (TP_BSIZE != (1 << tp_bshift)) quit("TP_BSIZE (%d) is not a power of 2", TP_BSIZE); - maxino = fs->super->s_inodes_count; + maxino = fs->super->s_inodes_count + 1; #if 0 spcl.c_flags |= DR_NEWINODEFMT; #endif @@ -984,12 +984,11 @@ usage(void) #endif "MnqSu" "] [-B records] [-b blocksize] [-d density]\n" - "\t%s [-e inode#,inode#,...] [-E file] [-f file] [-h level] " - "[-I nr errors] " + "\t%s [-e inode#,inode#,...] [-E file] [-f file] [-h level]\n" + "\t%s [-I nr errors] " #ifdef HAVE_BZLIB "[-j zlevel] " #endif - "\n\t%s " #ifdef USE_QFA "[-Q file] " #endif