Appease gcc -Werror=format-security. (closes: #646321)

Patch from 0.5.3-3ubuntu1 to appease gcc -Werror=format-security,
provided by Colin Watson.
This commit is contained in:
Tatsuya Kinoshita
2011-10-30 15:11:39 +09:00
parent 5397d09e58
commit 301a979961
3 changed files with 3 additions and 3 deletions

View File

@@ -866,7 +866,7 @@ AC_MSG_CHECKING(for sys_errlist)
AC_TRY_COMPILE(
changequote(<<,>>)dnl
<<extern char *sys_errlist[];>>,
<<printf(sys_errlist[0]);>>,
<<printf("%s", sys_errlist[0]);>>,
changequote([,])dnl
[have_sys_errlist="yes"; AC_DEFINE(HAVE_SYS_ERRLIST)],
[have_sys_errlist="no"])