mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-23 14:45:19 +00:00
btrfs-progs: Change BUG() to use assert.
Change the definition of BUG() to use assert instead of abort to provide information about the location of the issue. Signed-off-by: Mitch Harder <mitch.harder@sabayonlinux.org> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
This commit is contained in:
parent
206efb60cb
commit
e7839bced7
@ -50,7 +50,7 @@
|
||||
#define ULONG_MAX (~0UL)
|
||||
#endif
|
||||
|
||||
#define BUG() abort()
|
||||
#define BUG() assert(0)
|
||||
#ifdef __CHECKER__
|
||||
#define __force __attribute__((force))
|
||||
#define __bitwise__ __attribute__((bitwise))
|
||||
|
Loading…
Reference in New Issue
Block a user