Description: Appease gcc -Werror=format-security Author: Colin Watson Forwarded: no Last-Update: 2011-10-23 Index: b/acinclude.m4 =================================================================== --- a/acinclude.m4 +++ b/acinclude.m4 @@ -866,7 +866,7 @@ AC_TRY_COMPILE( changequote(<<,>>)dnl <>, -<>, +<>, changequote([,])dnl [have_sys_errlist="yes"; AC_DEFINE(HAVE_SYS_ERRLIST)], [have_sys_errlist="no"]) Index: b/configure =================================================================== --- a/configure +++ b/configure @@ -8986,7 +8986,7 @@ int main () { -printf(sys_errlist[0]); +printf("%s", sys_errlist[0]); ; return 0; } Index: b/w3mbookmark.c =================================================================== --- a/w3mbookmark.c +++ b/w3mbookmark.c @@ -99,7 +99,7 @@ fprintf(f, "\n

Bookmarks

\n"); fprintf(f, "

%s

\n
    \n", section); fprintf(f, "
  • %s\n", url, title); - fprintf(f, end_section); + fprintf(f, "%s", end_section); fprintf(f, "
\n\n\n"); fclose(f); }