ref: c3b3f743175a5827feacaa37bbc5443adc2c359b
parent: c8e804846cda63d86b70a705c3be57d378447e1e
author: gkostka <[email protected]>
date: Tue Dec 8 14:57:45 EST 2015
ext4_debug: add mbr debug definitions
--- a/lwext4/ext4_debug.h
+++ b/lwext4/ext4_debug.h
@@ -78,6 +78,7 @@
#define DEBUG_MKFS (1ul << 14)
#define DEBUG_EXT4 (1ul << 15)
#define DEBUG_JBD (1ul << 16)
+#define DEBUG_MBR (1ul << 17)
#define DEBUG_ALL (0xFFFFFFFF)
@@ -116,12 +117,14 @@
return "ext4_mkfs: ";
case DEBUG_JBD:
return "ext4_jbd: ";
+ case DEBUG_MBR:
+ return "ext4_mbr: ";
case DEBUG_EXT4:
return "ext4: ";
}
return "";
}
-#define DBG_NONE " "
+#define DBG_NONE ""
#define DBG_INFO "[info] "
#define DBG_WARN "[warn] "
#define DBG_ERROR "[error] "