summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-dash-Specify-format-string-in-fmtstr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-dash-Specify-format-string-in-fmtstr.patch')
-rw-r--r--meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-dash-Specify-format-string-in-fmtstr.patch8
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-dash-Specify-format-string-in-fmtstr.patch b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-dash-Specify-format-string-in-fmtstr.patch
index ae8c1f11a0..46a23987f5 100644
--- a/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-dash-Specify-format-string-in-fmtstr.patch
+++ b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/0001-dash-Specify-format-string-in-fmtstr.patch
@@ -1,4 +1,4 @@
1From 2fff607fd0b5550e5072a6fffcbb01c29d5207d2 Mon Sep 17 00:00:00 2001 1From 8beffe501c1ac5b35d62004735c4157c74183901 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 9 Jul 2017 13:51:25 -0700 3Date: Sun, 9 Jul 2017 13:51:25 -0700
4Subject: [PATCH] dash: Specify format string in fmtstr() 4Subject: [PATCH] dash: Specify format string in fmtstr()
@@ -9,12 +9,13 @@ usr/dash/jobs.c:429:3: error: format not a string literal and no format argument
9 col = fmtstr(s, 32, strsignal(st)); 9 col = fmtstr(s, 32, strsignal(st));
10 10
11Signed-off-by: Khem Raj <raj.khem@gmail.com> 11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12
12--- 13---
13 usr/dash/jobs.c | 2 +- 14 usr/dash/jobs.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 15 1 file changed, 1 insertion(+), 1 deletion(-)
15 16
16diff --git a/usr/dash/jobs.c b/usr/dash/jobs.c 17diff --git a/usr/dash/jobs.c b/usr/dash/jobs.c
17index 009bbfee..299bcacc 100644 18index 009bbfe..299bcac 100644
18--- a/usr/dash/jobs.c 19--- a/usr/dash/jobs.c
19+++ b/usr/dash/jobs.c 20+++ b/usr/dash/jobs.c
20@@ -426,7 +426,7 @@ sprint_status(char *s, int status, int sigonly) 21@@ -426,7 +426,7 @@ sprint_status(char *s, int status, int sigonly)
@@ -26,6 +27,3 @@ index 009bbfee..299bcacc 100644
26 #ifdef WCOREDUMP 27 #ifdef WCOREDUMP
27 if (WCOREDUMP(status)) { 28 if (WCOREDUMP(status)) {
28 col += fmtstr(s + col, 16, " (core dumped)"); 29 col += fmtstr(s + col, 16, " (core dumped)");
29--
302.13.2
31