From f1e59308d122996b345e424e1717dcbc8b7cb6b7 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Tue, 3 Apr 2012 07:30:11 +0800 Subject: [PATCH] contrib/openocd.udev: fix warning Fix following warning message logged by udev at start udevd[421]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/95-openocd.rules:81 Change-Id: I6de935c13a3327e3d718c110f97d19b9847ceca5 Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/552 Tested-by: jenkins Reviewed-by: Luca Bruno Reviewed-by: Spencer Oliver --- contrib/openocd.udev | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/openocd.udev b/contrib/openocd.udev index cffab06c..71558a97 100644 --- a/contrib/openocd.udev +++ b/contrib/openocd.udev @@ -78,9 +78,9 @@ ATTRS{idVendor}=="1457", ATTRS{idProduct}=="5118", MODE="644", GROUP="plugdev" ATTRS{idVendor}=="0403", ATTRS{idProduct}=="a6d0", MODE="664", GROUP="plugdev" # stlink v1 -SYSFS{idVendor}=="0483", SYSFS{idProduct}=="3744", MODE="664", GROUP="plugdev" +ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3744", MODE="664", GROUP="plugdev" # stlink v2 -SYSFS{idVendor}=="0483", SYSFS{idProduct}=="3748", MODE="664", GROUP="plugdev" +ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", MODE="664", GROUP="plugdev" LABEL="openocd_rules_end" -- 2.39.5