summaryrefslogtreecommitdiff
path: root/ext/posix
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix')
-rw-r--r--ext/posix/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index 01f8d407fd..aeaae224b2 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -295,7 +295,7 @@ const zend_function_entry posix_functions[] = {
#endif
PHP_FE(posix_get_last_error, arginfo_posix_get_last_error)
- PHP_FALIAS(posix_errno, posix_get_last_error, NULL)
+ PHP_FALIAS(posix_errno, posix_get_last_error, arginfo_posix_get_last_error)
PHP_FE(posix_strerror, arginfo_posix_strerror)
#ifdef HAVE_INITGROUPS
PHP_FE(posix_initgroups, arginfo_posix_initgroups)