]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev-builtin-kmod: adjust logging 9516/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 6 Jul 2018 10:47:39 +0000 (12:47 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 19 Jul 2018 16:28:21 +0000 (18:28 +0200)
I guess the one about "execute" was from the time when modprobe was called
directly.

src/udev/udev-builtin-kmod.c

index f5e09cebde675c2817c9da365d880ce5a73773a3..5e9fd0ce43a4f601eb02547f35189d2b713d8e77 100644 (file)
@@ -29,14 +29,12 @@ static int builtin_kmod(struct udev_device *dev, int argc, char *argv[], bool te
                 return 0;
 
         if (argc < 3 || !streq(argv[1], "load")) {
-                log_error("expect: %s load <module>", argv[0]);
+                log_error("%s: expected: load <module>", argv[0]);
                 return EXIT_FAILURE;
         }
 
-        for (i = 2; argv[i]; i++) {
-                log_debug("Execute '%s' '%s'", argv[1], argv[i]);
+        for (i = 2; argv[i]; i++)
                 (void) module_load_and_warn(ctx, argv[i], false);
-        }
 
         return EXIT_SUCCESS;
 }