summaryrefslogtreecommitdiffstats
path: root/sys/dev/esp
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2012-05-23 06:49:50 +0000
committerdelphij <delphij@FreeBSD.org>2012-05-23 06:49:50 +0000
commit884daaab74867d4f13e08dc1743d1406fef4f16c (patch)
treecd77b726d66e2e16c790af2eed92ab0452a5bc83 /sys/dev/esp
parentf424aba68abe8838508f46c333c31026298215ab (diff)
downloadFreeBSD-src-884daaab74867d4f13e08dc1743d1406fef4f16c.zip
FreeBSD-src-884daaab74867d4f13e08dc1743d1406fef4f16c.tar.gz
Fix build:
- Use %ll instead of %q for explicit long long casts; - Use %j instead of %q in XFS and cast to intmax_t. Tested with: make universe
Diffstat (limited to 'sys/dev/esp')
-rw-r--r--sys/dev/esp/ncr53c9x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/esp/ncr53c9x.c b/sys/dev/esp/ncr53c9x.c
index 93ad337..0cc4387 100644
--- a/sys/dev/esp/ncr53c9x.c
+++ b/sys/dev/esp/ncr53c9x.c
@@ -1504,7 +1504,7 @@ ncr53c9x_dequeue(struct ncr53c9x_softc *sc, struct ncr53c9x_ecb *ecb)
li = TINFO_LUN(ti, lun);
#ifdef DIAGNOSTIC
if (li == NULL || li->lun != lun)
- panic("%s: lun %qx for ecb %p does not exist", __func__,
+ panic("%s: lun %llx for ecb %p does not exist", __func__,
(long long)lun, ecb);
#endif
if (li->untagged == ecb) {
@@ -1515,7 +1515,7 @@ ncr53c9x_dequeue(struct ncr53c9x_softc *sc, struct ncr53c9x_ecb *ecb)
#ifdef DIAGNOSTIC
if (li->queued[ecb->tag[1]] != NULL &&
(li->queued[ecb->tag[1]] != ecb))
- panic("%s: slot %d for lun %qx has %p instead of ecb "
+ panic("%s: slot %d for lun %llx has %p instead of ecb "
"%p", __func__, ecb->tag[1], (long long)lun,
li->queued[ecb->tag[1]], ecb);
#endif
OpenPOWER on IntegriCloud