Skip to content

Commit 525eb35

Browse files
committed
fix typo
1 parent 6359c7a commit 525eb35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/filestat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ static int php_disk_total_space(char *path, double *space) /* {{{ */
115115
ULARGE_INTEGER TotalNumberOfFreeBytes;
116116
PHP_WIN32_IOUTIL_INIT_W(path)
117117

118-
if (GetDiskFreeSpaceExW(path, &FreeBytesAvailableToCaller, &TotalNumberOfBytes, &TotalNumberOfFreeBytes) == 0) {
118+
if (GetDiskFreeSpaceExW(pathw, &FreeBytesAvailableToCaller, &TotalNumberOfBytes, &TotalNumberOfFreeBytes) == 0) {
119119
php_error_docref(NULL, E_WARNING, "%s", php_win_err());
120120
PHP_WIN32_IOUTIL_CLEANUP_W()
121121
return FAILURE;

0 commit comments

Comments
 (0)