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
Bell 32V release
[unix-history]
/
usr
/
src
/
cmd
/
dcheck.c
diff --git
a/usr/src/cmd/dcheck.c
b/usr/src/cmd/dcheck.c
index
3766aa9
..
6c7019b
100644
(file)
--- a/
usr/src/cmd/dcheck.c
+++ b/
usr/src/cmd/dcheck.c
@@
-174,8
+174,6
@@
register struct dinode *ip;
return;
if (ip->di_nlink==((ecount[i])&0377) && ip->di_nlink!=0)
return;
return;
if (ip->di_nlink==((ecount[i])&0377) && ip->di_nlink!=0)
return;
- if (ino < ROOTINO && ip->di_nlink==0 && ecount[i]==0)
- return;
if (headpr==0) {
printf(" entries link cnt\n");
headpr++;
if (headpr==0) {
printf(" entries link cnt\n");
headpr++;
@@
-192,7
+190,7
@@
char *buf;
lseek(fi, bno*BSIZE, 0);
if (read(fi, buf, cnt) != cnt) {
lseek(fi, bno*BSIZE, 0);
if (read(fi, buf, cnt) != cnt) {
- printf("read error %
D
\n", bno);
+ printf("read error %
d
\n", bno);
for(i=0; i<BSIZE; i++)
buf[i] = 0;
}
for(i=0; i<BSIZE; i++)
buf[i] = 0;
}