shithub: lwext4

Download patch

ref: 07d4492ba55d747110490b5595011ed1c4316f46
parent: c39b047b419e4085ebcf216fe1e703fdd777d4e7
author: gkostka <kostka.grzegorz@gmail.com>
date: Thu Oct 29 15:46:22 EDT 2015

Fix -Wformat-security warnings

--- a/lwext4/ext4_debug.h
+++ b/lwext4/ext4_debug.h
@@ -137,7 +137,7 @@
 	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__);                                   \