@ -186,9 +186,9 @@ PHPAPI int php_checkuid_ex(const char *filename, const char *fopen_mode, int mod
if((flags&CHECKUID_NO_ERRORS)==0){
if(PG(safe_mode_gid)){
php_error_docref(NULLTSRMLS_CC,E_WARNING,"SAFE MODE Restriction in effect. The script whose uid/gid is %ld/%ld is not allowed to access %s owned by uid/gid %ld/%ld",php_getuid(),php_getgid(),filename,uid,gid);
php_error_docref(NULLTSRMLS_CC,E_WARNING,"SAFE MODE Restriction in effect. The script whose uid/gid is %ld/%ld is not allowed to access %s owned by uid/gid %ld/%ld",php_getuid(TSRMLS_C),php_getgid(TSRMLS_C),filename,uid,gid);
}else{
php_error_docref(NULLTSRMLS_CC,E_WARNING,"SAFE MODE Restriction in effect. The script whose uid is %ld is not allowed to access %s owned by uid %ld",php_getuid(),filename,uid);
php_error_docref(NULLTSRMLS_CC,E_WARNING,"SAFE MODE Restriction in effect. The script whose uid is %ld is not allowed to access %s owned by uid %ld",php_getuid(TSRMLS_C),filename,uid);