X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fjob.c;h=bd63eb16ba0673d0304b77a53c3ce7dd64bf4dcf;hb=a0827e2b123010c46cfe4f03eebba57d92f9efc4;hp=92125225622e0df802f21739eae8888614808681;hpb=48b4eab497c8d337e0c892291405ea4201da4572;p=elogind.git diff --git a/src/core/job.c b/src/core/job.c index 921252256..bd63eb16b 100644 --- a/src/core/job.c +++ b/src/core/job.c @@ -318,7 +318,7 @@ void job_dump(Job *j, FILE*f, const char *prefix) { * the following properties hold: * * Merging is associative! A merged with B, and then merged with C is the same - * A merged with the result B merged with C. + * as A merged with the result of B merged with C. * * Mergeability is transitive! If A can be merged with B and B with C then * A also with C. @@ -573,7 +573,7 @@ int job_run_and_invalidate(Job *j) { r = job_finish_and_invalidate(j, JOB_INVALID, true); else if (r == -EPROTO) r = job_finish_and_invalidate(j, JOB_ASSERT, true); - else if (r == -ENOTSUP) + else if (r == -EOPNOTSUPP) r = job_finish_and_invalidate(j, JOB_UNSUPPORTED, true); else if (r == -EAGAIN) job_set_state(j, JOB_WAITING);