fixed rl02 sector size bug
authorEdward Wang <edward@ucbvax.Berkeley.EDU>
Sun, 1 May 1983 08:29:25 +0000 (00:29 -0800)
committerEdward Wang <edward@ucbvax.Berkeley.EDU>
Sun, 1 May 1983 08:29:25 +0000 (00:29 -0800)
SCCS-vsn: sys/vax/stand/idc.c 4.7

usr/src/sys/vax/stand/idc.c

index a85c96b..19b0c32 100644 (file)
@@ -115,7 +115,7 @@ retry:
        if (errcnt)
                printf("idc: recovered by retry\n");
        if (ccleft) {
        if (errcnt)
                printf("idc: recovered by retry\n");
        if (ccleft) {
-               bn += thiscc/(idc_type[dn]?512:256);
+               bn += thiscc/NBPG;
                ubinfo += thiscc;
                goto retry;
        }
                ubinfo += thiscc;
                goto retry;
        }