1
Description: Fix -Werror=format-security errors
2
Author: James Page <james.page@ubuntu.com>
3
Forwarded: https://github.com/ceph/ceph/pull/300
5
--- a/src/test/librbd/fsx.c
6
+++ b/src/test/librbd/fsx.c
7
@@ -211,9 +211,9 @@ prt(char *fmt, ...)
9
vsnprintf(buffer, BUF_SIZE, fmt, args);
11
- fprintf(stdout, buffer);
12
+ fprintf(stdout, "%s", buffer);
14
- fprintf(fsxlogf, buffer);
15
+ fprintf(fsxlogf, "%s", buffer);