command.argv = (char**) cmdline;
exec_context_init(&context);
- r = exec_spawn(&command, NULL, &context, NULL, 0, NULL, false, false, false, NULL, &pid);
+ r = exec_spawn(&command, NULL, &context, NULL, 0, NULL, false, false, false, false, NULL, &pid);
exec_context_done(&context);
if (r < 0)
}
if (WIFSIGNALED(status)) {
- log_warning("/sbin/modprobe terminated by signal %s.", strsignal(WTERMSIG(status)));
+ log_warning("/sbin/modprobe terminated by signal %s.", signal_to_string(WTERMSIG(status)));
return -EPROTO;
}