core/part: c may be NULL, so use s instead of c->name