Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame^] | 1 | From 107cc370705d8520ba42f1416d89ed3544277c83 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Thu, 23 Mar 2017 13:44:41 +0200 |
| 4 | Subject: [PATCH] Resolve string formatting issues. |
| 5 | |
| 6 | Upstream-Status: Inappropriate [upstream seems dead] |
| 7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 8 | --- |
| 9 | exp_clib.c | 4 ++-- |
| 10 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 11 | |
| 12 | diff --git a/exp_clib.c b/exp_clib.c |
| 13 | index 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 | -- |
| 28 | 2.11.0 |
| 29 | |