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:
parent
2481cbe4ab
commit
9cca501650
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
||||||
#define fp_warn g_warning
|
#define fp_warn g_warning
|
||||||
#define fp_err g_error
|
#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()
|
#define BUG() g_assert_not_reached()
|
||||||
|
|
||||||
enum fp_dev_state {
|
enum fp_dev_state {
|
||||||
|
|
Loading…
Add table
Reference in a new issue