From: Kay Sievers Date: Sat, 30 Jul 2011 21:01:28 +0000 (+0200) Subject: udevadm: trigger --type=failed - log deprecation warning X-Git-Tag: 174~47 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05b74d8563116dc962e852c5a40f5ee7dc1503a4;p=systemd udevadm: trigger --type=failed - log deprecation warning --- diff --git a/udev/udevadm-trigger.c b/udev/udevadm-trigger.c index 610cf5e9..d94c9568 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;