minor improve

This commit is contained in:
Rongsong Shen 2026-04-14 12:52:40 +08:00
parent 897ca481b6
commit c1c9f9e736
4 changed files with 5 additions and 7 deletions

View file

@ -476,7 +476,8 @@ static int sched_init_resources(xce_scheduler_t* sched)
r1 = makeResource(sched->resmgr, r);
if (r1 == NULL) {
ERROR("%s add resource %s failed", __func__, r->name);
ERROR("%s add resource %s failed", __func__,
r->name ? r->name : "(null)");
}
}
return 0;