Skip to content

Commit 36b194b

Browse files
jfcozJulien Francoz
andauthored
add file path in opcache lock file error (#10331)
Co-authored-by: Julien Francoz <[email protected]>
1 parent d17c672 commit 36b194b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/zend_shared_alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void zend_shared_alloc_create_lock(char *lockfile_path)
103103
snprintf(lockfile_name, sizeof(lockfile_name), "%s/%sXXXXXX", lockfile_path, SEM_FILENAME_PREFIX);
104104
lock_file = mkstemp(lockfile_name);
105105
if (lock_file == -1) {
106-
zend_accel_error_noreturn(ACCEL_LOG_FATAL, "Unable to create lock file: %s (%d)", strerror(errno), errno);
106+
zend_accel_error_noreturn(ACCEL_LOG_FATAL, "Unable to create opcache lock file in %s: %s (%d)", lockfile_path, strerror(errno), errno);
107107
}
108108

109109
fchmod(lock_file, 0666);

0 commit comments

Comments
 (0)