aboutsummaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-10-30 06:11:39 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-10-30 06:11:39 +0000
commit301a9799615268cd517793ce1f368ef95df14410 (patch)
tree53ce62d04dee8ffee4f6a032a828a36a55cde68a /acinclude.m4
parentAdding upstream version 0.5.3 (diff)
downloadw3m-301a9799615268cd517793ce1f368ef95df14410.tar.gz
w3m-301a9799615268cd517793ce1f368ef95df14410.zip
Appease gcc -Werror=format-security. (closes: #646321)
Patch from 0.5.3-3ubuntu1 to appease gcc -Werror=format-security, provided by Colin Watson.
Diffstat (limited to '')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index e4ccc3d..52c8874 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -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"])