chiark / gitweb /
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 610cf5e..d94c956 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;