diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2015-07-05 20:51:34 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2015-07-05 20:51:34 +0000 |
commit | 138cabd45456e0c6202998675dc8221d6cb3c5f3 (patch) | |
tree | d2b975f7ef77ed50a2fcf529fcbc87a9087be50c | |
parent | 67559687f5d95dac757f4a0653901c179925686f (diff) |
fix a format specifier used in SR_DEBUG printfs.
from Karel Gardas (gardask at gmail.com)
-rw-r--r-- | sys/dev/softraid_crypto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/softraid_crypto.c b/sys/dev/softraid_crypto.c index aa6bdb98810..0f27f9731cc 100644 --- a/sys/dev/softraid_crypto.c +++ b/sys/dev/softraid_crypto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid_crypto.c,v 1.117 2015/03/14 03:38:46 jsg Exp $ */ +/* $OpenBSD: softraid_crypto.c,v 1.118 2015/07/05 20:51:33 mlarkin Exp $ */ /* * Copyright (c) 2007 Marco Peereboom <marco@peereboom.us> * Copyright (c) 2008 Hans-Joerg Hoexer <hshoexer@openbsd.org> @@ -1127,7 +1127,7 @@ sr_crypto_write(struct cryptop *crp) struct sr_workunit *wu = &crwu->cr_wu; int s; - DNPRINTF(SR_D_INTR, "%s: sr_crypto_write: wu %x xs: %x\n", + DNPRINTF(SR_D_INTR, "%s: sr_crypto_write: wu %p xs: %p\n", DEVNAME(wu->swu_dis->sd_sc), wu, wu->swu_xs); if (crp->crp_etype) { @@ -1206,7 +1206,7 @@ sr_crypto_read(struct cryptop *crp) struct sr_workunit *wu = &crwu->cr_wu; int s; - DNPRINTF(SR_D_INTR, "%s: sr_crypto_read: wu %x xs: %x\n", + DNPRINTF(SR_D_INTR, "%s: sr_crypto_read: wu %p xs: %p\n", DEVNAME(wu->swu_dis->sd_sc), wu, wu->swu_xs); if (crp->crp_etype) |