summaryrefslogtreecommitdiffstats
path: root/recipes-tpm/libtpm/files/Convert-another-vdprintf-to-dprintf.patch
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2017-05-07 22:39:03 -0700
committerArmin Kuster <akuster808@gmail.com>2017-05-14 07:56:43 -0700
commit4585f1e8c95435d60dd3a5287b25c7076347a3c9 (patch)
tree9be1977ee4fb8e0aff3f901db7da0e95cce3ac63 /recipes-tpm/libtpm/files/Convert-another-vdprintf-to-dprintf.patch
parent6eac21cf4a7653753d87772c497ac14b8b6e3e67 (diff)
downloadmeta-security-4585f1e8c95435d60dd3a5287b25c7076347a3c9.tar.gz
tpm: move to a sub layer
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-tpm/libtpm/files/Convert-another-vdprintf-to-dprintf.patch')
-rw-r--r--recipes-tpm/libtpm/files/Convert-another-vdprintf-to-dprintf.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/recipes-tpm/libtpm/files/Convert-another-vdprintf-to-dprintf.patch b/recipes-tpm/libtpm/files/Convert-another-vdprintf-to-dprintf.patch
deleted file mode 100644
index 9e1021a..0000000
--- a/recipes-tpm/libtpm/files/Convert-another-vdprintf-to-dprintf.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From 09e7dd42e5201d079bad70e9f7cc6033ce1c7cad Mon Sep 17 00:00:00 2001
2From: Stefan Berger <stefanb@linux.vnet.ibm.com>
3Date: Fri, 3 Feb 2017 10:58:22 -0500
4Subject: [PATCH] Convert another vdprintf to dprintf
5
6Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
7Upstream-Status: Backport
8Signed-off-by: Armin Kuster <akuster@mvista.com>
9
10---
11 src/tpm_library.c | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14Index: git/src/tpm_library.c
15===================================================================
16--- git.orig/src/tpm_library.c
17+++ git/src/tpm_library.c
18@@ -427,7 +427,7 @@ void TPMLIB_LogPrintfA(unsigned int inde
19 indent = sizeof(spaces) - 1;
20 memset(spaces, ' ', indent);
21 spaces[indent] = 0;
22- vdprintf(debug_fd, spaces, NULL);
23+ dprintf(debug_fd, "%s", spaces);
24 }
25
26 va_start(args, format);