Skip to contentSkip to conversation

Fix virtio-ports rule to use $attr instead of $ATTR

PATCH New Amit Shah 1 participant 1 message Feb 26, 2010

lore
Share & tools
lore

Amit Shah

author
#0 lore raw

PATCH 1/1 Fix virtio-ports rule to use $attr instead of $ATTR

Newer udev versions don't understand $ATTR.

---
 rules/rules.d/50-udev-default.rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
rules/rules.d/50-udev-default.rules +1 -1
index f8556d1..da1535f 100644
@@ -18,7 +18,7 @@ KERNEL="mwave",		GROUP="dialout"
 KERNEL="hvc*|hvsi*",		GROUP="dialout"
 
 # virtio serial / console ports
-KERNEL="vport*", SYMLINK+="virtio-ports/$ATTR{name}"
+KERNEL="vport*", SYMLINK+="virtio-ports/$attr{name}"
 
 # mem
 KERNEL="null|zero|full|random|urandom", MODE="0666"
Signature · 1 line
1.6.2.5