diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-11-07 21:25:49 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-11-07 21:25:49 +0000 |
| commit | 34c7d76e4505253778399653f8511eb976b73b16 (patch) | |
| tree | 5ab68329d7e26c1364bab09a2a9a38d0ef056c1e | |
| parent | 40e8bd8c766f02bad45f857dc7c426aa950b2db0 (diff) | |
Notes
| -rw-r--r-- | sys/dev/ubsec/ubsec.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/ubsec/ubsec.c b/sys/dev/ubsec/ubsec.c index 507198903ce8..37cb37e3b708 100644 --- a/sys/dev/ubsec/ubsec.c +++ b/sys/dev/ubsec/ubsec.c @@ -55,6 +55,7 @@ #include <sys/mbuf.h> #include <sys/lock.h> #include <sys/mutex.h> +#include <sys/stdint.h> #include <sys/sysctl.h> #include <sys/endian.h> @@ -2565,14 +2566,14 @@ ubsec_kprocess_rsapriv(struct ubsec_softc *sc, struct cryptkop *krp, int hint) #ifdef DIAGNOSTIC if (rp->rpr_msgin.dma_paddr & 3 || rp->rpr_msgin.dma_size & 3) { - panic("%s: rsapriv: invalid msgin %x(0x%x)", + panic("%s: rsapriv: invalid msgin %x(0x%jx)", device_get_nameunit(sc->sc_dev), - rp->rpr_msgin.dma_paddr, rp->rpr_msgin.dma_size); + rp->rpr_msgin.dma_paddr, (uintmax_t)rp->rpr_msgin.dma_size); } if (rp->rpr_msgout.dma_paddr & 3 || rp->rpr_msgout.dma_size & 3) { - panic("%s: rsapriv: invalid msgout %x(0x%x)", + panic("%s: rsapriv: invalid msgout %x(0x%jx)", device_get_nameunit(sc->sc_dev), - rp->rpr_msgout.dma_paddr, rp->rpr_msgout.dma_size); + rp->rpr_msgout.dma_paddr, (uintmax_t)rp->rpr_msgout.dma_size); } #endif |
