chiark / gitweb /
extend CODING_STYLE document a bit
[elogind.git] / src / core / manager.c
index 19493861ecdbb0566bac615d53d91650ca88084f..f06df54d910806401659416f60954cb6b92df516 100644 (file)
@@ -428,7 +428,7 @@ static int manager_setup_kdbus(Manager *m) {
                 return m->kdbus_fd;
         }
 
-        log_info("Successfully set up kdbus on %s", p);
+        log_debug("Successfully set up kdbus on %s", p);
 #endif
 
         return 0;
@@ -1078,7 +1078,7 @@ int manager_load_unit_prepare(
                 return sd_bus_error_setf(e, SD_BUS_ERROR_INVALID_ARGS, "Path %s is not absolute.", path);
 
         if (!name)
-                name = path_get_file_name(path);
+                name = basename(path);
 
         t = unit_name_to_type(name);