]> err.no Git - systemd/commitdiff
udevadm: trigger - fix --socket== + --verbose
authorKay Sievers <kay.sievers@vrfy.org>
Sat, 29 Mar 2008 16:20:34 +0000 (17:20 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Sat, 29 Mar 2008 16:20:34 +0000 (17:20 +0100)
udevtrigger.c

index cebc518c432c73bb601f5a2a01fb6d2ebcf2108a..4e3a8fab2d633f84f79a36f2e4c8740b5a61cac6 100644 (file)
@@ -133,6 +133,9 @@ static int pass_to_socket(const char *devpath, const char *action)
        int len;
        int err = 0;
 
+       if (verbose)
+               printf("%s\n", devpath);
+
        udev_device_init(&udev);
        udev_db_get_device(&udev, devpath);