Fix my complete botch. I hope. Tested this time

This commit is contained in:
Matt Jacob 1999-07-07 18:14:01 +00:00
parent c4c9400b69
commit be74589b43
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48668

View File

@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: scsi_da.c,v 1.28 1999/07/03 21:14:45 mjacob Exp $
* $Id: scsi_da.c,v 1.29 1999/07/06 01:40:03 mjacob Exp $
*/
#include "opt_hw_wdog.h"
@ -1311,10 +1311,10 @@ dadone(struct cam_periph *periph, union ccb *done_ccb)
dp = &softc->params;
snprintf(announce_buf, sizeof(announce_buf),
"%luMB (%u %u byte sectors: %dH %dS/T %dC)",
((unsigned long)dp->secsize * dp->sectors) /
((unsigned long)1024 * 1024),
dp->sectors, dp->secsize, dp->heads,
dp->secs_per_track, dp->cylinders);
(unsigned long) (((u_int64_t)dp->secsize *
dp->sectors) / (1024*1024)), dp->sectors,
dp->secsize, dp->heads, dp->secs_per_track,
dp->cylinders);
} else {
int error;