Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jul 1999 14:14:47 -0700 (PDT)
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/cam/scsi scsi_da.c
Message-ID:  <199907032114.OAA69073@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
mjacob      1999/07/03 14:14:47 PDT

  Modified files:
    sys/cam/scsi         scsi_da.c 
  Log:
  Make the change similar to that suggested by Nick Hibma to avoid divide by
  zero traps. I actually can't believe that this compiler is *sooooo* stupid
  that it did a divide when there was 1024L*1024L instead of a right shift by
  20. When we get quad type modifiers in kernel printf we can change to this
  too (to avoid overflow on > terabyte disk sizes).
  
  Revision  Changes    Path
  1.28      +4 -3      src/sys/cam/scsi/scsi_da.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907032114.OAA69073>