Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/adosfs pullup 1.18->1.19 (is): ADOSFS with fsize>512



details:   https://anonhg.NetBSD.org/src/rev/8b5583160be7
branches:  netbsd-1-4
changeset: 468882:8b5583160be7
user:      perry <perry%NetBSD.org@localhost>
date:      Tue Jun 22 14:31:11 1999 +0000

description:
pullup 1.18->1.19 (is): ADOSFS with fsize>512

diffstat:

 sys/adosfs/adutil.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 37f05f27ecfc -r 8b5583160be7 sys/adosfs/adutil.c
--- a/sys/adosfs/adutil.c       Tue Jun 22 14:29:20 1999 +0000
+++ b/sys/adosfs/adutil.c       Tue Jun 22 14:31:11 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: adutil.c,v 1.17.8.1 1999/06/21 15:27:37 perry Exp $    */
+/*     $NetBSD: adutil.c,v 1.17.8.2 1999/06/22 14:31:11 perry Exp $    */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -108,7 +108,7 @@
        if (adoscksum(bp, amp->nwords)) {
 #ifdef DIAGNOSTIC
                printf("adosfs: aget: cksum of blk %ld failed\n",
-                   bp->b_blkno / amp->secsperblk);
+                   bp->b_blkno / (amp->bsize / DEV_BSIZE));
 #endif
                return (-1);
        }
@@ -119,7 +119,7 @@
        if (adoswordn(bp, 0) != BPT_SHORT) {
 #ifdef DIAGNOSTIC
                printf("adosfs: aget: bad primary type blk %ld (type = %d)\n",
-                   bp->b_blkno / amp->secsperblk, adoswordn(bp,0));
+                   bp->b_blkno / (amp->bsize / DEV_BSIZE), adoswordn(bp,0));
 #endif
                return (-1);
        }
@@ -144,7 +144,7 @@
 
 #ifdef DIAGNOSTIC
        printf("adosfs: aget: bad secondary type blk %ld (type = %d)\n",
-           bp->b_blkno / amp->secsperblk, adoswordn(bp, amp->nwords - 1));
+           bp->b_blkno / (amp->bsize / DEV_BSIZE), adoswordn(bp, amp->nwords - 1));
 #endif
 
        return (-1);



Home | Main Index | Thread Index | Old Index