diff options
author | Amit Shah <amit.shah@redhat.com> | 2010-03-22 10:59:46 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-03-22 10:59:46 +0100 |
commit | 00e43e357ea709d8c1def0aed13192abbf9ac193 (patch) | |
tree | b15db3e9e56f15ecf910b756d9f5a9681482cbee /rules/rules.d | |
parent | 4dd9b291354e76f34b0d6d7b5c3b28d03a624418 (diff) |
rules: virtio - fix is to check if the 'name' attribute is present
Fix provided by Harald Hoyer.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'rules/rules.d')
-rw-r--r-- | rules/rules.d/50-udev-default.rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/rules.d/50-udev-default.rules b/rules/rules.d/50-udev-default.rules index da1535f92b..e8116a372f 100644 --- a/rules/rules.d/50-udev-default.rules +++ b/rules/rules.d/50-udev-default.rules @@ -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*", ATTR{name}=="?*", SYMLINK+="virtio-ports/$attr{name}" # mem KERNEL=="null|zero|full|random|urandom", MODE="0666" |