chiark / gitweb /
tree-wide: spelling fixes
[elogind.git] / src / core / unit.c
index 8cec0e7e7f9118a42c3a869075e8db03c427aad9..9f7ba9227b780b1f6971f9a60bed529a69500c8b 100644 (file)
@@ -609,7 +609,7 @@ static int reserve_dependencies(Unit *u, Unit *other, UnitDependency d) {
 
         /*
          * If u does not have this dependency set allocated, there is no need
-         * to reserve anything. In that case other's set will be transfered
+         * to reserve anything. In that case other's set will be transferred
          * as a whole to u by complete_move().
          */
         if (!u->dependencies[d])
@@ -2894,7 +2894,7 @@ bool unit_need_daemon_reload(Unit *u) {
                         return true;
         }
 
-        t = unit_find_dropin_paths(u);
+        (void) unit_find_dropin_paths(u, &t);
         loaded_cnt = strv_length(t);
         current_cnt = strv_length(u->dropin_paths);