execute: fix typo in error message (#6881)

This commit is contained in:
Jan Synacek 2017-09-21 10:38:52 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 70b089d7dc
commit f679ed6116

View file

@ -2643,7 +2643,7 @@ static int exec_child(
if (context->nice_set)
if (setpriority(PRIO_PROCESS, 0, context->nice) < 0) {
*exit_status = EXIT_NICE;
*error_message = strdup("Failed to set up process scheduling priority (nice level");
*error_message = strdup("Failed to set up process scheduling priority (nice level)");
return -errno;
}