Ticket #1115: patch

File patch, 437 bytes (added by kcr, 10 years ago)

fix

  • server/acl.c

    commit 33fe7aac02af99acca06db6ba6e501dc3de26d7a
    Author: Karl Ramm <kcr@1ts.org>
    Date:   Tue Jan 17 21:35:29 2012 -0500
    
        (Correctly) supply a format for printf such that -Wformat-security shuts up
    
    diff --git a/server/acl.c b/server/acl.c
    index 0eadc98..b3e4689 100644
    a b main() 
    455455static void panic(s) 
    456456        char *s; 
    457457{ 
    458         printf(s); 
     458        printf("%s", s); 
    459459        fflush(stdout); 
    460460        abort(); 
    461461}