execute: fix typo in error message (#6881)
authorJan Synacek <jan.synacek@gmail.com>
Thu, 21 Sep 2017 08:38:52 +0000 (10:38 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 21 Sep 2017 08:38:52 +0000 (10:38 +0200)
src/core/execute.c

index 00f709f..28c6b2f 100644 (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;
                 }