From: Zeev Suraski Date: Thu, 8 Jul 1999 17:15:43 +0000 (+0000) Subject: Avoid sending NULL argument to printf X-Git-Tag: BEFORE_REMOVING_GC_STEP1~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a33277e3d86bc35fd9f5b7a1b850f7f493149ea;p=php Avoid sending NULL argument to printf --- diff --git a/main/main.c b/main/main.c index cff04cc4a3..71bc4d603f 100644 --- a/main/main.c +++ b/main/main.c @@ -574,13 +574,13 @@ static void php_message_handler_for_zend(long message, void *data) case ZMSG_FAILED_INCLUDE_FOPEN: { PLS_FETCH(); - php3_error(E_WARNING, "Failed opening '%s' for inclusion (include_path='%s')", php3_strip_url_passwd((char *) data), PG(include_path)); + php3_error(E_WARNING, "Failed opening '%s' for inclusion (include_path='%s')", php3_strip_url_passwd((char *) data), STR_PRINT(PG(include_path))); } break; case ZMSG_FAILED_REQUIRE_FOPEN: { PLS_FETCH(); - php3_error(E_COMPILE_ERROR, "Failed opening required '%s' (include_path='%s')", php3_strip_url_passwd((char *) data), PG(include_path)); + php3_error(E_COMPILE_ERROR, "Failed opening required '%s' (include_path='%s')", php3_strip_url_passwd((char *) data), STR_PRINT(PG(include_path))); } break; case ZMSG_FAILED_HIGHLIGHT_FOPEN: