@@ -1155,7 +1155,7 @@ int fm_malloc_init_shm_manager(void)
if (_fm_shm_block==0){
LOG(L_CRIT, "could not initialize fm shm memory pool\n");
fprintf(stderr, "Too much fm shm memory demanded: %ld bytes\n",
- pkg_mem_size);
+ shm_mem_size);
return -1;
}
@@ -1100,7 +1100,7 @@ int qm_malloc_init_shm_manager(void)
if (_qm_shm_block==0){
LOG(L_CRIT, "could not initialize qm shm memory pool\n");
fprintf(stderr, "Too much qm shm memory demanded: %ld bytes\n",
@@ -1438,7 +1438,7 @@ int tlsf_malloc_init_shm_manager(void)
} else {
LOG(L_CRIT, "could not initialize tlsf shm memory pool\n");
fprintf(stderr, "Too much tlsf shm memory demanded: %ld bytes\n",