diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2015-08-11 18:27:17 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-16 22:40:52 +0100 |
commit | 5b9f4512f6d6f07ce90754552c912c62d86ce3b0 (patch) | |
tree | 215a55cf2de34e97901c35e40b1ddc62aa11b590 /meta/recipes-extended/blktool/blktool/0002-fix-string-error.patch | |
parent | 7cc816b9ffefd5debb23bfb7ba66a7dc8e0ac94d (diff) | |
download | poky-5b9f4512f6d6f07ce90754552c912c62d86ce3b0.tar.gz |
blktool: update to 4-7
This means replacing a "-6.1" Debian patch with "-7" patch.
(From OE-Core rev: 5c3682136358272a3a83300a865ff9b551b31834)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/blktool/blktool/0002-fix-string-error.patch')
-rw-r--r-- | meta/recipes-extended/blktool/blktool/0002-fix-string-error.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-extended/blktool/blktool/0002-fix-string-error.patch b/meta/recipes-extended/blktool/blktool/0002-fix-string-error.patch new file mode 100644 index 0000000000..d08aba5f05 --- /dev/null +++ b/meta/recipes-extended/blktool/blktool/0002-fix-string-error.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From ddb1071da2c78d8155aab62e9f0d46f69500200f Mon Sep 17 00:00:00 2001 | ||
2 | From: Azat Khuzhin <a3at.mail@gmail.com> | ||
3 | Date: Wed, 8 Jul 2015 01:42:24 +0300 | ||
4 | Subject: [PATCH 2/3] fix string error | ||
5 | |||
6 | This patch is taken from | ||
7 | ftp://ftp.debian.org/debian/pool/main/b/blktool/blktool_4-7.debian.tar.xz | ||
8 | |||
9 | Upstream-Status: Inappropriate [upstream is dead] | ||
10 | Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> | ||
11 | |||
12 | --- | ||
13 | util.c | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/util.c b/util.c | ||
17 | index 1f3a9ca..2ccf56a 100644 | ||
18 | --- a/util.c | ||
19 | +++ b/util.c | ||
20 | @@ -28,7 +28,7 @@ void pdie(const char *msg, int perr) | ||
21 | if (perr) | ||
22 | perror(msg); | ||
23 | else | ||
24 | - fprintf(stderr, msg); | ||
25 | + fprintf(stderr, "%s", msg); | ||
26 | if (blkdev >= 0) | ||
27 | close(blkdev); | ||
28 | exit(1); | ||
29 | -- | ||
30 | 2.1.4 | ||
31 | |||