summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/test-bus-kernel.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-04-14 16:28:34 +0200
committerKay Sievers <kay@vrfy.org>2013-04-14 16:28:34 +0200
commit01f6c9d4685edbc38c8df9175286f0e312dc1938 (patch)
treeeaccdd02e11c7df3cd61b84a6f43b9c7eeef9f61 /src/libsystemd-bus/test-bus-kernel.c
parent77930f11207ef6ec1f9284a1179fdd78c3364cba (diff)
bus: zero data structure and catch up with error value change
Diffstat (limited to 'src/libsystemd-bus/test-bus-kernel.c')
-rw-r--r--src/libsystemd-bus/test-bus-kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/test-bus-kernel.c b/src/libsystemd-bus/test-bus-kernel.c
index af82466b36..2164daf690 100644
--- a/src/libsystemd-bus/test-bus-kernel.c
+++ b/src/libsystemd-bus/test-bus-kernel.c
@@ -115,7 +115,7 @@ int main(int argc, char *argv[]) {
assert_se(r >= 0);
r = sd_bus_release_name(a, "net.x0pointer.foobar");
- assert_se(r == -ENXIO);
+ assert_se(r == -ESRCH);
sd_bus_unref(a);
sd_bus_unref(b);