summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-rtnl/sd-rtnl.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-02-01 22:13:26 +0100
committerTom Gundersen <teg@jklm.no>2015-02-02 11:57:52 +0100
commit5544ee85163733eaa50f598fcf3bd9421d4a42f9 (patch)
tree57a7fca80c90e3c94e5bf1d302de15de2a4ea590 /src/libsystemd/sd-rtnl/sd-rtnl.c
parenta9944163fe5600bce85898dae78cd68442a6ff7c (diff)
networkd: support socket activation
Still keep the non-socket activation code around for starting from the commandline, but will likely drop that too in the future.
Diffstat (limited to 'src/libsystemd/sd-rtnl/sd-rtnl.c')
-rw-r--r--src/libsystemd/sd-rtnl/sd-rtnl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-rtnl/sd-rtnl.c b/src/libsystemd/sd-rtnl/sd-rtnl.c
index 767c583735..45ba50a856 100644
--- a/src/libsystemd/sd-rtnl/sd-rtnl.c
+++ b/src/libsystemd/sd-rtnl/sd-rtnl.c
@@ -74,7 +74,7 @@ int sd_rtnl_new_from_netlink(sd_rtnl **ret, int fd) {
assert_return(ret, -EINVAL);
- r = sd_rtnl_new(ret);
+ r = sd_rtnl_new(&rtnl);
if (r < 0)
return r;