diff options
author | jhb <jhb@FreeBSD.org> | 2002-11-06 19:52:13 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-11-06 19:52:13 +0000 |
commit | 59eda164d2b535c1525b00fdf6b18e1659064652 (patch) | |
tree | a8ec4bc1609e77f83718b564a2fead6dfa6b56d5 /sys/dev/ata | |
parent | 6c4cc56664d6025656cf489287cdd4edcd05bf5b (diff) | |
download | FreeBSD-src-59eda164d2b535c1525b00fdf6b18e1659064652.zip FreeBSD-src-59eda164d2b535c1525b00fdf6b18e1659064652.tar.gz |
Use some long long casts to quiet warnings in debug printf's on alpha.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/ata-all.c | 2 | ||||
-rw-r--r-- | sys/dev/ata/atapi-tape.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index 4bc2097..ffd16fb 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -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 */ diff --git a/sys/dev/ata/atapi-tape.c b/sys/dev/ata/atapi-tape.c index 2ff5661..360ff0a 100644 --- a/sys/dev/ata/atapi-tape.c +++ b/sys/dev/ata/atapi-tape.c @@ -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; } |