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:
@@ -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"])
|
||||
|
Reference in New Issue
Block a user