diff options
author | Clemens Gruber <clemens.gruber@pqgruber.com> | 2016-05-19 18:40:44 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-05-26 08:27:23 +0200 |
commit | 1681e0ab170d9dfd9799e0ef3737d2628e69fa65 (patch) | |
tree | 9ebdd6a0a8c83d6633ad290cbd57dfbc032c213a /patches/busybox-1.24.2/0201-Fix-the-format-warning-when-building-applets-usage_p.patch | |
parent | d66169b0f2ef190b3caa05eb32050970db39eb48 (diff) | |
download | ptxdist-1681e0ab170d9dfd9799e0ef3737d2628e69fa65.tar.gz ptxdist-1681e0ab170d9dfd9799e0ef3737d2628e69fa65.tar.xz |
busybox: version bump to 1.24.2
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/busybox-1.24.2/0201-Fix-the-format-warning-when-building-applets-usage_p.patch')
-rw-r--r-- | patches/busybox-1.24.2/0201-Fix-the-format-warning-when-building-applets-usage_p.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/patches/busybox-1.24.2/0201-Fix-the-format-warning-when-building-applets-usage_p.patch b/patches/busybox-1.24.2/0201-Fix-the-format-warning-when-building-applets-usage_p.patch new file mode 100644 index 000000000..98ad36e1d --- /dev/null +++ b/patches/busybox-1.24.2/0201-Fix-the-format-warning-when-building-applets-usage_p.patch @@ -0,0 +1,30 @@ +From: Dinny Wu <dinny.wu@gmail.com> +Date: Thu, 26 Jul 2012 14:12:51 +0000 +Subject: [PATCH] Fix the format warning when building applets/usage_pod.c +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +When compiling busybox with gcc 4.6.3, it shows below warning: + +applets/usage_pod.c: In function ‘main’: +applets/usage_pod.c:74:3: warning: format not a string literal and no format arguments [-Wformat-security] + +Signed-off-by: Dinny Wu <dinny.wu@gmail.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 0b1c4aadb8c4..a67e8b4ac348 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"); |