summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Wang <gwang@php.net>2021-03-05 10:57:46 -0500
committerGeorge Wang <gwang@php.net>2021-03-05 10:57:46 -0500
commit8fc0bdfb0ad559d6a91fed0aaffd91b17f8ace9d (patch)
tree31a615740c42192951c4f959d3f50e066089186e
parent797edd621147c0e063ae718d428c109ae61b47fc (diff)
parente0e167e5812287a7944fa21f2515b61b08c67b1f (diff)
downloadphp-git-8fc0bdfb0ad559d6a91fed0aaffd91b17f8ace9d.tar.gz
Merge branch 'PHP-7.4' of git.php.net:php-src into PHP-7.4
-rw-r--r--ext/opcache/shared_alloc_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/shared_alloc_win32.c b/ext/opcache/shared_alloc_win32.c
index a75ec852c4..4b95508ef4 100644
--- a/ext/opcache/shared_alloc_win32.c
+++ b/ext/opcache/shared_alloc_win32.c
@@ -80,7 +80,7 @@ void zend_shared_alloc_create_lock(void)
{
memory_mutex = CreateMutex(NULL, FALSE, create_name_with_username(ACCEL_MUTEX_NAME));
if (!memory_mutex) {
- zend_accel_error(ACCEL_LOG_FATAL, "Cannot create mutex");
+ zend_accel_error(ACCEL_LOG_FATAL, "Cannot create mutex (error %u)", GetLastError());
return;
}
ReleaseMutex(memory_mutex);