Skip to content

Commit f096cce

Browse files
arnaud-lbcmb69
andauthored
Update ext/opcache/zend_file_cache.c
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
1 parent 40df920 commit f096cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/zend_file_cache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ static bool zend_file_cache_script_write(int fd, const zend_persistent_script *s
10471047
}
10481048

10491049
written = write(fd, ZSTR_VAL(s), info->str_size);
1050-
if (UNEXPECTED(writen != info->str_size)) {
1050+
if (UNEXPECTED(written != info->str_size)) {
10511051
errno = written == -1 ? errno : EAGAIN;
10521052
return false;
10531053
}

0 commit comments

Comments
 (0)