]> git.pld-linux.org Git - packages/echat.git/blob - echat-format-security.patch
Add patch to fix build with -Werror=format-security
[packages/echat.git] / echat-format-security.patch
1 diff -urN echat-0.04beta1/chat_parm.c echat-0.04beta1.new/chat_parm.c
2 --- echat-0.04beta1/chat_parm.c 2003-08-20 07:04:17.000000000 +0200
3 +++ echat-0.04beta1.new/chat_parm.c     2013-01-30 12:24:39.341755575 +0100
4 @@ -57,7 +57,7 @@
5      strncat(message, "-DSHELL ", STR_SIZE);
6  #endif  /* SHELL */
7      strncat(message, "\n", STR_SIZE);
8 -    fprintf(stdout, message);
9 +    fprintf(stdout, "%s", message);
10  }
11  
12  void parm_getopt(int argc, char *argv[]) {
This page took 0.057821 seconds and 3 git commands to generate.