projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4 release
[unix-history]
/
usr
/
src
/
cmd
/
dcheck.c
diff --git
a/usr/src/cmd/dcheck.c
b/usr/src/cmd/dcheck.c
index
6c7019b
..
8514caa
100644
(file)
--- a/
usr/src/cmd/dcheck.c
+++ b/
usr/src/cmd/dcheck.c
@@
-1,3
+1,4
@@
+static char *sccsid = "@(#)dcheck.c 4.1 (Berkeley) 10/1/80";
/*
* dcheck - check directory consistency
*/
/*
* dcheck - check directory consistency
*/
@@
-79,9
+80,9
@@
char *file;
sync();
bread((daddr_t)1, (char *)&sblock, sizeof(sblock));
nfiles = (sblock.s_isize-2)*INOPB;
sync();
bread((daddr_t)1, (char *)&sblock, sizeof(sblock));
nfiles = (sblock.s_isize-2)*INOPB;
- if (nfiles >
4
0000) {
- printf("Only doing
4
0000 files\n");
- nfiles =
4
0000;
+ if (nfiles >
25
0000) {
+ printf("Only doing
25
0000 files\n");
+ nfiles =
25
0000;
}
ecount = malloc(nfiles+1);
if (ecount==NULL) {
}
ecount = malloc(nfiles+1);
if (ecount==NULL) {