summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2013-08-17 12:12:08 +0200
committerJulien Cristau <jcristau@debian.org>2013-08-18 02:13:01 +0200
commitf231ed52c4adeb071de0553af7a575687a6d3dc5 (patch)
tree4f1d945037464d107cd249adb5f6ec36f1c5546a
parent89494a51d006c20d16d3f08225a0345fecaae546 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imake.c b/imake.c
index 7ea13e6..c20cd4a 100644
--- a/imake.c
+++ b/imake.c
@@ -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);