summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgkostka <kostka.grzegorz@gmail.com>2015-10-29 19:46:22 +0100
committergkostka <kostka.grzegorz@gmail.com>2015-10-29 19:46:22 +0100
commit07d4492ba55d747110490b5595011ed1c4316f46 (patch)
tree5680e1080ac459ed721c4dd625a67324b9ba7b7b
parentc39b047b419e4085ebcf216fe1e703fdd777d4e7 (diff)
Fix -Wformat-security warnings
-rw-r--r--lwext4/ext4_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lwext4/ext4_debug.h b/lwext4/ext4_debug.h
index 271a9ae..a923b47 100644
--- a/lwext4/ext4_debug.h
+++ b/lwext4/ext4_debug.h
@@ -137,7 +137,7 @@ uint32_t ext4_dmask_get(void);
do { \
if (m & ext4_dmask_get()) { \
if (CONFIG_DEBUG_PREFIX) { \
- printf(ext4_dmask_id2str(m)); \
+ printf("%s", ext4_dmask_id2str(m)); \
printf("l: %d ", __LINE__); \
} \
printf(__VA_ARGS__); \