summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-07-30 23:01:28 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-07-30 23:01:28 +0200
commit05b74d8563116dc962e852c5a40f5ee7dc1503a4 (patch)
treed99064abc2abf99542997db4339c0334ba986487
parent2614261e4dcbf0f5e342a274694a243e9f644dc1 (diff)
udevadm: trigger --type=failed - log deprecation warning
-rw-r--r--udev/udevadm-trigger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/udevadm-trigger.c b/udev/udevadm-trigger.c
index 610cf5e9c1..d94c9568d1 100644
--- a/udev/udevadm-trigger.c
+++ b/udev/udevadm-trigger.c
@@ -229,6 +229,7 @@ static int adm_trigger(struct udev *udev, int argc, char *argv[])
switch (device_type) {
case TYPE_FAILED:
+ err(udev, "--type=failed is deprecated and will be removed from a future udev release.\n");
scan_failed(udev_enumerate);
exec_list(udev_enumerate, action);
goto exit;