X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-binder.git;a=blobdiff_plain;f=src%2Fjobs.c;h=9768f269e503e4895cf353479aae139d503ad71f;hp=a6357c87aec9aaa2d1e39371450bb12604bf26d5;hb=72385abda940862a920442a330fb6aa82673400f;hpb=a02a1627a954432cc65ec981cada8ba420d7ad2f diff --git a/src/jobs.c b/src/jobs.c index a6357c87..9768f269 100644 --- a/src/jobs.c +++ b/src/jobs.c @@ -160,7 +160,7 @@ static struct job *job_create( job = malloc(sizeof *job); pthread_mutex_lock(&mutex); if (!job) { - errno = -ENOMEM; + errno = ENOMEM; goto end; } }