]> err.no Git - systemd/commitdiff
udevadm: trigger --type=failed - log deprecation warning
authorKay Sievers <kay.sievers@vrfy.org>
Sat, 30 Jul 2011 21:01:28 +0000 (23:01 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Sat, 30 Jul 2011 21:01:28 +0000 (23:01 +0200)
udev/udevadm-trigger.c

index 610cf5e9c17972015af24ccc33f6922fac413a7d..d94c9568d1793aa8da64bd3311111410783b585c 100644 (file)
@@ -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;