summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSage Weil <sage.weil@dreamhost.com>2012-04-22 05:28:45 +0200
committerSage Weil <sage.weil@dreamhost.com>2012-04-22 05:28:45 +0200
commit97f507ffb7e2818c5355f5f275df5f16e1df250a (patch)
tree4daddd9a737caaca418985cf2c40ece81f41b5a7
parentfilestore: verify that fiemap works (diff)
downloadceph-97f507ffb7e2818c5355f5f275df5f16e1df250a.tar.xz
ceph-97f507ffb7e2818c5355f5f275df5f16e1df250a.zip
Makefile: disable format-security warning
The prt() varargs function generates this warning test/rbd/fsx.c: In function ‘prt’: warning: test/rbd/fsx.c:203:2: format not a string literal and no format arguments [-Wformat-security] warning: test/rbd/fsx.c:205:3: format not a string literal and no format arguments [-Wformat-security] Disable that check for the fsx build only. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 63633761d5b..60f959f6f2e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -680,7 +680,7 @@ bin_DEBUGPROGRAMS += test_librbd
test_librbd_fsx_SOURCES = test/rbd/fsx.c
test_librbd_fsx_LDADD = librbd.la librados.la
-test_librbd_fsx_CFLAGS = ${AM_CFLAGS}
+test_librbd_fsx_CFLAGS = ${AM_CFLAGS} -Wno-format
bin_DEBUGPROGRAMS += test_librbd_fsx
test_rados_api_io_SOURCES = test/rados-api/io.cc test/rados-api/test.cc