[git commit] applets/usage_pod.c: placate gcc

Denys Vlasenko vda.linux at googlemail.com
Mon Feb 15 11:36:44 UTC 2021


commit: https://git.busybox.net/busybox/commit/?id=666a9a4c4d90c70e91272e72dcf3592410f1b5d0
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

"error: format not a string literal and no format arguments"

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 applets/usage_pod.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applets/usage_pod.c b/applets/usage_pod.c
index ccc166aed..9e6d3f0ee 100644
--- a/applets/usage_pod.c
+++ b/applets/usage_pod.c
@@ -71,7 +71,7 @@ int main(void)
 		} else {
 			printf(", ");
 		}
-		printf(usage_array[i].aname);
+		printf("%s", usage_array[i].aname);
 		col += len2;
 	}
 	printf("\n\n");


More information about the busybox-cvs mailing list