summaryrefslogtreecommitdiffstats
path: root/cryptodev_cipher.c
diff options
context:
space:
mode:
Diffstat (limited to 'cryptodev_cipher.c')
-rw-r--r--cryptodev_cipher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptodev_cipher.c b/cryptodev_cipher.c
index a1e61f1cc3f..85f218cd3c5 100644
--- a/cryptodev_cipher.c
+++ b/cryptodev_cipher.c
@@ -153,7 +153,7 @@ static inline int waitfor (struct cryptodev_result* cr, ssize_t ret)
* another request. */
if (unlikely(cr->err)) {
- dprintk(0,KERN_ERR,"error from async request: %zd \n", ret);
+ dprintk(0,KERN_ERR,"error from async request: %d \n", cr->err);
return cr->err;
}