Skip to content

Commit 4f219e9

Browse files
committed
ext/posix: Add error message for mode range (0–07777)
1 parent 6df80df commit 4f219e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/posix/posix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ PHP_FUNCTION(posix_mkfifo)
624624
if (mode < 0 || (mode & ~07777)) {
625625
zend_argument_value_error(
626626
2,
627-
"must be between 0 and 0o7777"
627+
"must be between 0 and 07777"
628628
);
629629
RETURN_THROWS();
630630
}

0 commit comments

Comments
 (0)