mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
Fix my complete botch. I hope. Tested this time
This commit is contained in:
parent
c4c9400b69
commit
be74589b43
1 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue