Skip to content

Commit f20ed10

Browse files
committed
Remove unbalanced parentheses in an error message
1 parent f8f7fd2 commit f20ed10

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/standard/link.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ PHP_FUNCTION(readlink)
7575

7676
if (ret == -1) {
7777
#ifdef PHP_WIN32
78-
php_error_docref(NULL, E_WARNING, "readlink failed to read the symbolic link (%s), error %d)", link, GetLastError());
78+
php_error_docref(NULL, E_WARNING, "readlink failed to read the symbolic link (%s), error %d", link, GetLastError());
7979
#else
8080
php_error_docref(NULL, E_WARNING, "%s", strerror(errno));
8181
#endif

ext/standard/tests/file/rename_variation7-win32.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ echo "Done\n";
2828
--EXPECTF--
2929
Warning: symlink(): No such file or directory in %srename_variation7-win32.php on line %d
3030

31-
Warning: readlink(): readlink failed to read the symbolic link (%srename_variation7-win32.php.tmp.link), error 2) in %srename_variation7-win32.php on line %d
31+
Warning: readlink(): readlink failed to read the symbolic link (%srename_variation7-win32.php.tmp.link), error 2 in %srename_variation7-win32.php on line %d
3232
bool(false)
3333

34-
Warning: readlink(): readlink failed to read the symbolic link (%srename_variation7-win32.php.tmp.link2), error 2) in %srename_variation7-win32.php on line %d
34+
Warning: readlink(): readlink failed to read the symbolic link (%srename_variation7-win32.php.tmp.link2), error 2 in %srename_variation7-win32.php on line %d
3535
bool(false)
3636
Done

0 commit comments

Comments
 (0)