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>
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