diff options
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0001-testcases-fix-an-absent-format-string-issue.patch')
-rw-r--r-- | meta/recipes-extended/ltp/ltp/0001-testcases-fix-an-absent-format-string-issue.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0001-testcases-fix-an-absent-format-string-issue.patch b/meta/recipes-extended/ltp/ltp/0001-testcases-fix-an-absent-format-string-issue.patch deleted file mode 100644 index 9330844509..0000000000 --- a/meta/recipes-extended/ltp/ltp/0001-testcases-fix-an-absent-format-string-issue.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | From 476ce907fa18042cdde0a244ba9a46cd895ce76c Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 12 Dec 2019 17:56:02 +0100 | ||
4 | Subject: [PATCH] testcases: fix an absent format string issue | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | .../kernel/syscalls/pidfd_send_signal/pidfd_send_signal03.c | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal03.c b/testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal03.c | ||
13 | index 27dbc6626..19d943d06 100644 | ||
14 | --- a/testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal03.c | ||
15 | +++ b/testcases/kernel/syscalls/pidfd_send_signal/pidfd_send_signal03.c | ||
16 | @@ -59,7 +59,7 @@ static void verify_pidfd_send_signal(void) | ||
17 | |||
18 | /* Manipulate PID for next process */ | ||
19 | sprintf(pid_str, "%d", pid - 1); | ||
20 | - SAFE_FILE_PRINTF(last_pid_file, pid_str); | ||
21 | + SAFE_FILE_PRINTF(last_pid_file, "%s", pid_str); | ||
22 | |||
23 | new_pid = SAFE_FORK(); | ||
24 | if (new_pid == 0) { | ||