aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2012-04-03 07:30:11 +0800
committerSpencer Oliver <spen@spen-soft.co.uk>2012-04-10 12:22:59 +0000
commitf1e59308d122996b345e424e1717dcbc8b7cb6b7 (patch)
treefb43e7166742ed760fcf005a5b527ce8f65b62bd /contrib
parentfad7240689e2b926148a6c2e7566d29e8f309852 (diff)
downloadriscv-openocd-f1e59308d122996b345e424e1717dcbc8b7cb6b7.zip
riscv-openocd-f1e59308d122996b345e424e1717dcbc8b7cb6b7.tar.gz
riscv-openocd-f1e59308d122996b345e424e1717dcbc8b7cb6b7.tar.bz2
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 <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/552 Tested-by: jenkins Reviewed-by: Luca Bruno Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/openocd.udev4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/openocd.udev b/contrib/openocd.udev
index cffab06..71558a9 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"