aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/convbdf.c2
-rw-r--r--tools/md5table.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/convbdf.c b/tools/convbdf.c
index 526f34bdf5..393a7ebc46 100644
--- a/tools/convbdf.c
+++ b/tools/convbdf.c
@@ -152,7 +152,7 @@ usage(void)
" -n Don't generate bitmaps as comments in .c file\n"
};
- fprintf(stderr, help);
+ fprintf(stderr, "%s", help);
}
/* parse command line options*/
diff --git a/tools/md5table.c b/tools/md5table.c
index c8f7eb9e09..f4aacb8e31 100644
--- a/tools/md5table.c
+++ b/tools/md5table.c
@@ -356,7 +356,7 @@ int main(int argc, char *argv[])
buffer[0] = '\0';
for (i = 0; i < numEntries; ++i) {
const char *currentEntry = entriesBuffer + i * entrySize;
- fprintf(outFile, currentEntry);
+ fprintf(outFile, "%s", currentEntry);
if (strncmp(currentEntry + 4, buffer, 32) == 0) {
warning("Duplicate MD5 found '%.32s'", buffer);
} else {
@@ -364,7 +364,7 @@ int main(int argc, char *argv[])
}
}
/* Finally, print the footer */
- fprintf(outFile, c_footer);
+ fprintf(outFile, "%s", c_footer);
}
free(entriesBuffer);