summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-wait-online-manager.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-07-18 13:25:18 +0200
committerTom Gundersen <teg@jklm.no>2014-07-18 13:25:18 +0200
commitd243773263630f1cbc5868a12476b17c335abec8 (patch)
treefbbf08e06e8e6d882a6c171b64540e522ffd591a /src/network/networkd-wait-online-manager.c
parentautogen: add "t" switch with --enable-terminal (diff)
downloadsystemd-d243773263630f1cbc5868a12476b17c335abec8.tar.xz
systemd-d243773263630f1cbc5868a12476b17c335abec8.zip
networkd-wait-online: fix comilation warning
sd_rtnl_message_read_string() was changed to take a const argument, update the users.
Diffstat (limited to '')
-rw-r--r--src/network/networkd-wait-online-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-wait-online-manager.c b/src/network/networkd-wait-online-manager.c
index 649a21c80c..6e3ec6935d 100644
--- a/src/network/networkd-wait-online-manager.c
+++ b/src/network/networkd-wait-online-manager.c
@@ -80,7 +80,7 @@ static int manager_process_link(sd_rtnl *rtnl, sd_rtnl_message *mm, void *userda
Manager *m = userdata;
uint16_t type;
Link *l;
- char *ifname;
+ const char *ifname;
int ifindex, r;
assert(rtnl);