diff options
Diffstat (limited to 'ext/standard/link.c')
| -rw-r--r-- | ext/standard/link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/link.c b/ext/standard/link.c index ffe14235ef..2fb126afa3 100644 --- a/ext/standard/link.c +++ b/ext/standard/link.c @@ -181,7 +181,7 @@ PHP_FUNCTION(unlink) RETURN_FALSE; } - ret = unlink((*filename)->value.str.val); + ret = V_UNLINK((*filename)->value.str.val); if (ret == -1) { php_error(E_WARNING, "Unlink failed (%s)", strerror(errno)); RETURN_FALSE; |
