Commit 9cca5016 authored by Bastien Nocera's avatar Bastien Nocera

lib: Fix new BUG_ON() implementation

A thinko reversed the meaning of the BUG_ON() condition. This fixes
the inverted implementation in commit
ff09456c.
parent 2481cbe4
......@@ -47,7 +47,7 @@
#define fp_warn g_warning
#define fp_err g_error
#define BUG_ON(condition) g_assert(condition)
#define BUG_ON(condition) g_assert(!condition)
#define BUG() g_assert_not_reached()
enum fp_dev_state {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment