summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-11-22 04:01:46 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-22 04:23:22 +0100
commit780896a4f1ec7e36c8f72c866ba9693d790f9741 (patch)
tree7aa9cf31a9ce94c729758b555433283056df3f39 /src/core
parent6414b7c981378a6eef480f6806d7cbfc98ca22a1 (diff)
bus: rework sd_bus_error APIs
All calls that set a sd_bus_error structure will now return the same error converted to a negative errno. This may be used as syntactic sugar to return from a function and setting a bus_error structure in one go. Also, translate all Linux Exyz (EIO, EINVAL, EUCLEAN, EPIPE, ...) automatically into counterparts in the (new) "Posix.Error." namespace. If we fail to allocate memory for the components of a sd_bus_error automatically reset it to an OOM error which we always can write.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/syscall-list.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/syscall-list.c b/src/core/syscall-list.c
index 35216b2a88..dc84dca8fe 100644
--- a/src/core/syscall-list.c
+++ b/src/core/syscall-list.c
@@ -23,7 +23,6 @@
#include <string.h>
#include "util.h"
-
#include "syscall-list.h"
static const struct syscall_name* lookup_syscall(register const char *str,