Skip to content

Commit 50fcf51

Browse files
author
Julien Francoz
committed
add file path in opcache lock file error
1 parent 334ecbe commit 50fcf51

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
@@ -84,7 +84,7 @@ void zend_shared_alloc_create_lock(char *lockfile_path)
8484
snprintf(lockfile_name, sizeof(lockfile_name), "%s/%sXXXXXX", lockfile_path, SEM_FILENAME_PREFIX);
8585
lock_file = mkstemp(lockfile_name);
8686
if (lock_file == -1) {
87-
zend_accel_error_noreturn(ACCEL_LOG_FATAL, "Unable to create lock file: %s (%d)", strerror(errno), errno);
87+
zend_accel_error_noreturn(ACCEL_LOG_FATAL, "Unable to create opcache lock file in %s: %s (%d)", lockfile_path, strerror(errno), errno);
8888
}
8989

9090
fchmod(lock_file, 0666);

0 commit comments

Comments
 (0)