diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2021-03-05 15:09:26 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2021-03-05 15:09:26 +0100 |
commit | 9f7c6a824a638073a1cc069b66cce789a7dabcda (patch) | |
tree | 950004eb70b771e14d3c1e3557f3d3d824f4a480 /ext/opcache | |
parent | b84f4ed7c385f45b6d93983b199a3d8e9287e790 (diff) | |
parent | 1c16749eaa760fc68769a831603eccb45ae11110 (diff) | |
download | php-git-9f7c6a824a638073a1cc069b66cce789a7dabcda.tar.gz |
Merge branch 'PHP-8.0'
* PHP-8.0:
Print error code if CreateMutex() fails
Diffstat (limited to 'ext/opcache')
-rw-r--r-- | ext/opcache/shared_alloc_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/shared_alloc_win32.c b/ext/opcache/shared_alloc_win32.c index 780fd78f89..76df553468 100644 --- a/ext/opcache/shared_alloc_win32.c +++ b/ext/opcache/shared_alloc_win32.c @@ -81,7 +81,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); |