fix format

This commit is contained in:
Anatol Belski 2016-08-18 16:29:46 +02:00
parent 2f430a4b6c
commit 74cfb2284e

View File

@ -182,7 +182,7 @@ PHP_FUNCTION(shm_attach)
}
if ((shm_ptr = shmat(shm_id, NULL, 0)) == (void *) -1) {
php_error_docref(NULL, E_WARNING, "failed for key 0x" ZEND_LONG_FMT ": %s", shm_key, strerror(errno));
php_error_docref(NULL, E_WARNING, "failed for key 0x" ZEND_XLONG_FMT ": %s", shm_key, strerror(errno));
efree(shm_list_ptr);
RETURN_FALSE;
}