aboutsummaryrefslogtreecommitdiffstats
path: root/src/jobs.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-09-06 08:25:47 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2018-09-06 08:25:47 +0000
commite11e8fbe65c6d57716c96bc6dd2b503a310dca67 (patch)
tree0c34f095ad4a32cbd0c3185693937d65d1a3d7c0 /src/jobs.c
parent408acbdce381f1e70985eae9f96d036689f3d0aa (diff)
parent72385abda940862a920442a330fb6aa82673400f (diff)
Merge "main-afb-daemon: Export API after initialization"
Diffstat (limited to 'src/jobs.c')
-rw-r--r--src/jobs.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}