Diff for /src/sys/dev/raid/aac/aac_disk.c between versions 1.5 and 1.6

version 1.5, 2003/08/07 21:17:07 version 1.6, 2004/02/13 01:33:19
Line 310  aac_biodone(struct bio *bp) Line 310  aac_biodone(struct bio *bp)
         devstat_end_transaction_bio(&sc->ad_stats, bp);          devstat_end_transaction_bio(&sc->ad_stats, bp);
         if (bp->bio_flags & BIO_ERROR) {          if (bp->bio_flags & BIO_ERROR) {
                 blkno = (sc->ad_label.d_nsectors) ? 0 : -1;                  blkno = (sc->ad_label.d_nsectors) ? 0 : -1;
#if __FreeBSD_version > 500005#if defined(__FreeBSD__) && __FreeBSD_version > 500005
                 diskerr(bp, (char *)bp->bio_driver1, blkno, &sc->ad_label);                  diskerr(bp, (char *)bp->bio_driver1, blkno, &sc->ad_label);
 #else  #else
                 diskerr(bp, (char *)bp->bio_driver1, 0, blkno, &sc->ad_label);                  diskerr(bp, (char *)bp->bio_driver1, 0, blkno, &sc->ad_label);

Removed from v.1.5  
changed lines
  Added in v.1.6