打印错误换成debug_log

This commit is contained in:
Pan Qiancheng 2025-04-16 11:28:48 +08:00
parent e93e41ce83
commit b8b38d9efe
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }