summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-06-21 13:20:02 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-21 14:15:23 +0200
commit3f0083a264952dc79f3ae478044b79b66ed03c46 (patch)
tree7c64efb88a7f0d656da28b59fe8e900355090bff /src/basic
parentb541146bf8c34aaaa9efcf58325f18da9253c4ec (diff)
tree-wide: some work-arounds for gcc false positives regarding uninitialized variables
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/process-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/process-util.c b/src/basic/process-util.c
index 20768b715a..3afb5e0a40 100644
--- a/src/basic/process-util.c
+++ b/src/basic/process-util.c
@@ -553,7 +553,7 @@ int wait_for_terminate(pid_t pid, siginfo_t *status) {
if (errno == EINTR)
continue;
- return -errno;
+ return negative_errno();
}
return 0;