Commit:    22611b8d3774cff379cc51666842ab4b8a2eaf7f
Author:    George Wang <gw...@php.net>         Fri, 12 Oct 2012 13:04:22 -0400
Parents:   1b9e0de2ccab0d6ae6f77b53b5c3a306ec154496
Branches:  master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=22611b8d3774cff379cc51666842ab4b8a2eaf7f

Log:
sapi/litespeed/lsapi_main.c: Fix bug #63228

Fix compiling error at line 606 (error: format not a string
literal and no format arguments [-Werror=format-security]

Bugs:
https://bugs.php.net/63228

Changed paths:
  M  sapi/litespeed/lsapi_main.c


Diff:
diff --git a/sapi/litespeed/lsapi_main.c b/sapi/litespeed/lsapi_main.c
index bb532d8..7058342 100644
--- a/sapi/litespeed/lsapi_main.c
+++ b/sapi/litespeed/lsapi_main.c
@@ -603,7 +603,7 @@ static void cli_usage( TSRMLS_D )
         "  args...    Arguments passed to script.\n";
     php_output_startup();
     php_output_activate(TSRMLS_C);
-    php_printf( usage );
+    php_printf( "%s", usage );
 #ifdef PHP_OUTPUT_NEWAPI
     php_output_end_all(TSRMLS_C);
 #else


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to