summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-03-29 17:20:34 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-03-29 17:20:34 +0100
commitbdfcd075872d8086cd9e4e416f7793d4c78e8af8 (patch)
treee6ddeef5440c8e6d639b7c90e9de0ead3785bff7
parent52434fb98b2e8920e8e254d87ecfff2789ebd6b7 (diff)
udevadm: trigger - fix --socket== + --verbose
-rw-r--r--udevtrigger.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/udevtrigger.c b/udevtrigger.c
index cebc518c43..4e3a8fab2d 100644
--- a/udevtrigger.c
+++ b/udevtrigger.c
@@ -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);