coinor-symphony (5.2.4-1.2) format-security.patch

Summary

 SYMPHONY/src/Master/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

Description: add a format argument to avoid FBTFS with -Werror=format-security
Origin: vendor
Bug-Debian: http://bugs.debian.org/643365
Forwarded: no
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2011-12-21

--- a/SYMPHONY/src/Master/main.c
+++ b/SYMPHONY/src/Master/main.c
@@ -671,7 +671,7 @@
    
   while(true){
      strcpy(getl, "");
-     printf(prompt);
+     printf("%s", prompt);
      fflush(stdout);
      fgets(getl, MAX_LINE_LENGTH, stdin);