summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/sd-bus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-05-22 16:02:21 +0200
committerLennart Poettering <lennart@poettering.net>2013-05-22 16:04:39 +0200
commit8f155917bf5c11c8f156d7f25f242257d6086cb9 (patch)
tree5b34963cd80961ca0353f93e0598e1a2b6451738 /src/libsystemd-bus/sd-bus.c
parent2927b326ccf67236e148444679f582ea1437ef5a (diff)
bus: add benchmark tool to determine the right threshold for copying vs. memfd
Diffstat (limited to 'src/libsystemd-bus/sd-bus.c')
-rw-r--r--src/libsystemd-bus/sd-bus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-bus/sd-bus.c b/src/libsystemd-bus/sd-bus.c
index 7ae32036bd..3f766fb519 100644
--- a/src/libsystemd-bus/sd-bus.c
+++ b/src/libsystemd-bus/sd-bus.c
@@ -2514,6 +2514,7 @@ int sd_bus_call_method(
int r;
if (!bus)
+
return -EINVAL;
if (!BUS_IS_OPEN(bus->state))
return -ENOTCONN;