summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/test-pppoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-network/test-pppoe.c')
-rw-r--r--src/libsystemd-network/test-pppoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/test-pppoe.c b/src/libsystemd-network/test-pppoe.c
index 9c8d6f7779..cc51197295 100644
--- a/src/libsystemd-network/test-pppoe.c
+++ b/src/libsystemd-network/test-pppoe.c
@@ -94,7 +94,7 @@ static int test_pppoe_server(sd_event *e) {
assert_se(r >= 0);
- assert_se(sd_rtnl_open(&rtnl, 0) >= 0);
+ assert_se(sd_rtnl_open(&rtnl) >= 0);
assert_se(sd_rtnl_attach_event(rtnl, e, 0) >= 0);
assert_se(sd_rtnl_message_new_link(rtnl, &m, RTM_NEWLINK, 0) >= 0);