chiark / gitweb /
network: fix typo
[elogind.git] / src / network / networkd-wait-online-manager.c
index 649a21c80c7949fd99cce8a23d3c92478717fab0..b32f2227013896fb906685426c60b66c87f53bcf 100644 (file)
@@ -37,7 +37,7 @@ bool manager_all_configured(Manager *m) {
         char **ifname;
         bool one_ready = false;
 
-        /* wait for all the links given on the commandline to appear */
+        /* wait for all the links given on the command line to appear */
         STRV_FOREACH(ifname, m->interfaces) {
                 l = hashmap_get(m->links_by_name, *ifname);
                 if (!l) {
@@ -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);