about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--stdio-common/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 324bcabb25..b28776d77f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2007-08-25  Ulrich Drepper  <drepper@redhat.com>
 
+	* stdio-common/Makefile: Avoid format string warning for tst-sprint.
+
 	* posix/regex_internal.h: Prevent some declarations and definitions
 	to be seen when used in tests.
 
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 104c0e0d91..84aebf4945 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -94,6 +94,8 @@ CFLAGS-cuserid.c = -fexceptions
 CFLAGS-errlist.c = $(fno-unit-at-a-time)
 CFLAGS-siglist.c = $(fno-unit-at-a-time)
 
+# We know the test has a format string problem.
+CFLAGS-tst-sprintf.c = -Wno-format
 tst-sscanf-ENV = LOCPATH=$(common-objpfx)localedata
 tst-swprintf-ENV = LOCPATH=$(common-objpfx)localedata
 test-vfprintf-ENV = LOCPATH=$(common-objpfx)localedata