diff options
| author | gkostka <kostka.grzegorz@gmail.com> | 2015-10-29 19:46:22 +0100 |
|---|---|---|
| committer | gkostka <kostka.grzegorz@gmail.com> | 2015-10-29 19:46:22 +0100 |
| commit | 07d4492ba55d747110490b5595011ed1c4316f46 (patch) | |
| tree | 5680e1080ac459ed721c4dd625a67324b9ba7b7b | |
| parent | c39b047b419e4085ebcf216fe1e703fdd777d4e7 (diff) | |
Fix -Wformat-security warnings
| -rw-r--r-- | lwext4/ext4_debug.h | 2 |
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__); \ |
