]> granicus.if.org Git - php/commitdiff
sapi/litespeed/lsapi_main.c: Fix bug #63228
authorGeorge Wang <gwang@php.net>
Fri, 12 Oct 2012 17:04:22 +0000 (13:04 -0400)
committerGeorge Wang <gwang@php.net>
Fri, 12 Oct 2012 17:04:22 +0000 (13:04 -0400)
Fix compiling error at line 606 (error: format not a string
literal and no format arguments [-Werror=format-security]

sapi/litespeed/lsapi_main.c

index bb532d83620f3e1529bfba7102e46058643f347b..70583426c4679752720db475ace703ee8e4af5c0 100644 (file)
@@ -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