}
if (s->usb_function_descriptors && !s->usb_function_strings)
- log_unit_warning(UNIT(s)->id, "Service has USBFunctionDescriptors= setting, but no USBFunctionStrings=. Ignoring.");
+ log_unit_warning(UNIT(s), "Service has USBFunctionDescriptors= setting, but no USBFunctionStrings=. Ignoring.");
if (!s->usb_function_descriptors && s->usb_function_strings)
- log_unit_warning(UNIT(s)->id, "Service has USBFunctionStrings= setting, but no USBFunctionDescriptors=. Ignoring.");
+ log_unit_warning(UNIT(s), "Service has USBFunctionStrings= setting, but no USBFunctionDescriptors=. Ignoring.");
if (s->runtime_max_usec != USEC_INFINITY && s->type == SERVICE_ONESHOT)
log_unit_warning(UNIT(s), "MaxRuntimeSec= has no effect in combination with Type=oneshot. Ignoring.");
path_temp = unit_default_cgroup_path(UNIT(s));
if (cg_check_cgroup_exist(path_temp) < 0) {
- log_unit_error(UNIT(s)->id, "CGROUP ERROR! (%s) is already realized but not exists", UNIT(s)->id);
+ log_unit_error(UNIT(s), "CGROUP ERROR! (%s) is already realized but not exists", UNIT(s)->id);
UNIT(s)->cgroup_realized = false;
UNIT(s)->cgroup_realized_mask = 0;
}
if (p) {
if (p->n_auxiliary_fds <= idx)
- log_unit_debug(u->id, "Id of auxiliary fd out of bounds");
+ log_unit_debug(u, "Id of auxiliary fd out of bounds");
else
p->auxiliary_fds[idx] = fdset_remove(fds, fd);
}