diff options
author | Xin LI <delphij@FreeBSD.org> | 2012-05-23 06:49:50 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2012-05-23 06:49:50 +0000 |
commit | 64c06aeb8d65063035c72814ad76ee3e34c69e78 (patch) | |
tree | cd77b726d66e2e16c790af2eed92ab0452a5bc83 /sys/dev/esp | |
parent | 00b6d640df54a8335ec8495073fe790eaabfc165 (diff) | |
download | src-64c06aeb8d65063035c72814ad76ee3e34c69e78.tar.gz src-64c06aeb8d65063035c72814ad76ee3e34c69e78.zip |
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
Notes
Notes:
svn path=/head/; revision=235822
Diffstat (limited to 'sys/dev/esp')
-rw-r--r-- | sys/dev/esp/ncr53c9x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/esp/ncr53c9x.c b/sys/dev/esp/ncr53c9x.c index 93ad3371e80f..0cc4387bf8ce 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 |