mirror of
https://github.com/QingdaoU/Judger.git
synced 2024-12-28 16:01:41 +00:00
增加dlerror()的日志记录
This commit is contained in:
parent
ce88c9c897
commit
2c03f35b73
@ -137,7 +137,7 @@ int child_process(void *args) {
|
||||
int (*load_seccomp)(void *, struct config *);
|
||||
|
||||
if (!handler) {
|
||||
LOG_FATAL(log_fp, "seccomp failed");
|
||||
LOG_FATAL(log_fp, "seccomp failed, %s", dlerror());
|
||||
CHILD_ERROR_EXIT(LOAD_SECCOMP_FAILED);
|
||||
}
|
||||
load_seccomp = dlsym(handler, "load_seccomp");
|
||||
|
Loading…
Reference in New Issue
Block a user