diff options
author | phk <phk@FreeBSD.org> | 2003-05-02 19:08:57 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-02 19:08:57 +0000 |
commit | d73072efd41de3d543da5cfaca4c1534cc64bc14 (patch) | |
tree | 672652c008c3472d8e714558d0e9478f249dad89 /sys/geom | |
parent | 3df17deeec0464f17ac2b7fa9cf2401fb7e7bda7 (diff) | |
download | FreeBSD-src-d73072efd41de3d543da5cfaca4c1534cc64bc14.zip FreeBSD-src-d73072efd41de3d543da5cfaca4c1534cc64bc14.tar.gz |
Considering that I did cast the arguments to (intmax_t) I must have
been sleepy since I used %qd instead of %jd.
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/bde/g_bde_crypt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/geom/bde/g_bde_crypt.c b/sys/geom/bde/g_bde_crypt.c index f4162c1..0dcdab5 100644 --- a/sys/geom/bde/g_bde_crypt.c +++ b/sys/geom/bde/g_bde_crypt.c @@ -367,26 +367,26 @@ g_bde_map_sector(struct g_bde_work *wp) wp->ko); #endif KASSERT(wp->so + wp->length <= kp->sectorN, - ("wp->so (%qd) + wp->length (%qd) > EOM (%qd), offset = %qd", + ("wp->so (%jd) + wp->length (%jd) > EOM (%jd), offset = %jd", (intmax_t)wp->so, (intmax_t)wp->length, (intmax_t)kp->sectorN, (intmax_t)wp->offset)); KASSERT(wp->kso + kp->sectorsize <= kp->sectorN, - ("wp->kso (%qd) + kp->sectorsize > EOM (%qd), offset = %qd", + ("wp->kso (%jd) + kp->sectorsize > EOM (%jd), offset = %jd", (intmax_t)wp->kso, (intmax_t)kp->sectorN, (intmax_t)wp->offset)); KASSERT(wp->so >= kp->sector0, - ("wp->so (%qd) < BOM (%qd), offset = %qd", + ("wp->so (%jd) < BOM (%jd), offset = %jd", (intmax_t)wp->so, (intmax_t)kp->sector0, (intmax_t)wp->offset)); KASSERT(wp->kso >= kp->sector0, - ("wp->kso (%qd) <BOM (%qd), offset = %qd", + ("wp->kso (%jd) <BOM (%jd), offset = %jd", (intmax_t)wp->kso, (intmax_t)kp->sector0, (intmax_t)wp->offset)); |