Use some long long casts to quiet warnings in debug printf's on alpha.
This commit is contained in:
parent
6c4cc56664
commit
59eda164d2
@ -1009,7 +1009,7 @@ ata_command(struct ata_device *atadev, u_int8_t command,
|
||||
ata_prtdev(atadev, "ata_command: addr=%04lx, cmd=%02x, "
|
||||
"lba=%lld, count=%d, feature=%d, flags=%02x\n",
|
||||
rman_get_start(atadev->channel->r_io),
|
||||
command, lba, count, feature, flags);
|
||||
command, (long long)lba, count, feature, flags);
|
||||
#endif
|
||||
|
||||
/* select device */
|
||||
|
@ -291,7 +291,8 @@ astclose(dev_t dev, int flags, int fmt, struct thread *td)
|
||||
|
||||
stp->flags &= F_CTL_WARN;
|
||||
#ifdef AST_DEBUG
|
||||
ata_prtdev(stp->device, "%llu total bytes transferred\n", ast_total);
|
||||
ata_prtdev(stp->device, "%llu total bytes transferred\n",
|
||||
(unsigned long long)ast_total);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user