[PATCH] build system: prevent breakage by over-zealous CFLAGS
Ron Yorston
rmy at pobox.com
Sun Feb 14 08:37:50 UTC 2021
A user reports that the use of "-Werror=format-security" in
HOSTCFLAGS prevents usage_pod from building.
Signed-off-by: Ron Yorston <rmy at pobox.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");
--
2.29.2
More information about the busybox
mailing list