diff options
author | Julien Cristau <jcristau@debian.org> | 2013-08-17 12:12:08 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2013-08-18 02:13:01 +0200 |
commit | f231ed52c4adeb071de0553af7a575687a6d3dc5 (patch) | |
tree | 4f1d945037464d107cd249adb5f6ec36f1c5546a | |
parent | 89494a51d006c20d16d3f08225a0345fecaae546 (diff) |
Replace fprintf with fputs
Fix build failure with -Werror=format-security:
imake.c:1008:5: error: format not a string literal and no format arguments [-Werror=format-security]
fprintf (inFile, command);
^
Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | imake.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1005,7 +1005,7 @@ get_libc_version(FILE *inFile) abort (); while (fgets (command, len, fp)) - fprintf (inFile, command); + fputs (command, inFile); len = pclose (fp); remove (aout); |