chiark / gitweb /
networkctl: fix strappend() error checking
[elogind.git] / src / network / networkd-netdev.c
index a277576a7a40be7ff01d2d8f38471a8f1f037628..974547dcdac05d7b0c40e26647800306320d8420 100644 (file)
@@ -275,7 +275,7 @@ int netdev_enslave(NetDev *netdev, Link *link, sd_rtnl_message_handler_t callbac
                 if (r < 0)
                         return r;
         } else {
-                /* the netdev is not yet read, save this request for when it is*/
+                /* the netdev is not yet read, save this request for when it is */
                 netdev_join_callback *cb;
 
                 cb = new0(netdev_join_callback, 1);
@@ -654,7 +654,7 @@ static int netdev_load_one(Manager *manager, const char *filename) {
         if (net_match_config(NULL, NULL, NULL, NULL, NULL,
                              netdev_raw->match_host, netdev_raw->match_virt,
                              netdev_raw->match_kernel, netdev_raw->match_arch,
-                             NULL, NULL, NULL, NULL, NULL, NULL, false) <= 0)
+                             NULL, NULL, NULL, NULL, NULL, NULL) <= 0)
                 return 0;
 
         if (!NETDEV_VTABLE(netdev_raw)) {