blob: af1d8c626c2a5285892ebae157f4dbc072c04f7a [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From 107cc370705d8520ba42f1416d89ed3544277c83 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Thu, 23 Mar 2017 13:44:41 +0200
4Subject: [PATCH] Resolve string formatting issues.
5
6Upstream-Status: Inappropriate [upstream seems dead]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 exp_clib.c | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/exp_clib.c b/exp_clib.c
13index 172c05e..809200e 100644
14--- a/exp_clib.c
15+++ b/exp_clib.c
16@@ -1476,8 +1476,8 @@ expDiagLogU(str)
17 char *str;
18 {
19 if (exp_is_debugging) {
20- fprintf(stderr,str);
21- if (exp_logfile) fprintf(exp_logfile,str);
22+ fprintf(stderr, "%s", str);
23+ if (exp_logfile) fprintf(exp_logfile, "%s", str);
24 }
25 }
26
27--
282.11.0
29