wow...
[shamirs] / shamirssecret.c
index 2d6e7aac0c9a77bc41d9fc12465fd400bf82a2e6..c7409e78a689726dc15a77c95551e9ee58b31850 100644 (file)
@@ -24,7 +24,7 @@
 #define CHECKSTATE(x) assert(x)
 #else
 #include <linux/bug.h>
-#define CHECKSTATE(x) BUG_ON(x)
+#define CHECKSTATE(x) BUG_ON(!(x))
 #endif
 
 #include "shamirssecret.h"