btrfs-progs: fix debugging macro checks
commit8eccfa86c0c7f1645556a119d8b217d7173af10d
authorDavid Sterba <dsterba@suse.com>
Sat, 23 Sep 2017 18:44:02 +0000 (23 20:44 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Sep 2017 13:18:17 +0000 (25 15:18 +0200)
tree64a4c04bca84b5c377df486951fa9cffea4bc47a
parent5b2fbc6f4e93286273f9e7a67834a02004f3f875
btrfs-progs: fix debugging macro checks

Sparse warns that the DEBUG_*_ERROR macros are not defined when checked.
Use the ifdef check rather then relying on the implicit behaviour.

Signed-off-by: David Sterba <dsterba@suse.com>
messages.h