Bell 32V release
[unix-history] / usr / src / cmd / dcheck.c
index 3766aa9..6c7019b 100644 (file)
@@ -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;
        }