lib: Fix new BUG_ON() implementation

A thinko reversed the meaning of the BUG_ON() condition. This fixes
the inverted implementation in commit
ff09456cf5.
This commit is contained in:
Bastien Nocera 2018-05-25 16:11:37 +02:00
parent 2481cbe4ab
commit 9cca501650

View file

@ -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 {