打印错误换成debug_log
This commit is contained in:
parent
e93e41ce83
commit
b8b38d9efe
|
|
@ -19,7 +19,7 @@ ConfigData *load_config() {
|
||||||
DEBUG_LOG("shm_id is: %d", shm_id);
|
DEBUG_LOG("shm_id is: %d", shm_id);
|
||||||
|
|
||||||
if (shm_id == -1) {
|
if (shm_id == -1) {
|
||||||
perror("shmget failed");
|
DEBUG_LOG("shmget failed");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue