summaryrefslogtreecommitdiffstats
path: root/cryptodev_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'cryptodev_main.c')
-rw-r--r--cryptodev_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cryptodev_main.c b/cryptodev_main.c
index 49e362b..71bd5a8 100644
--- a/cryptodev_main.c
+++ b/cryptodev_main.c
@@ -508,7 +508,7 @@ err_partial:
dsk = ask->slaves[i];
ask->slaves[i] = NULL;
- BUG_ON(dsk != NULL);
+ BUG_ON(dsk == NULL);
// FIXME: cleaner - on last sock_put
local_bh_disable();