From: Antonio Borneo Date: Mon, 2 Apr 2012 23:30:11 +0000 (+0800) Subject: contrib/openocd.udev: fix warning X-Git-Tag: v0.6.0-rc1~152 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f1e59308d122996b345e424e1717dcbc8b7cb6b7;p=openocd 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 --- 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"