summaryrefslogtreecommitdiff
path: root/udev_rules.c
diff options
context:
space:
mode:
authorAnton Farygin <rider@altlinux.com>2005-07-14 11:39:55 +0200
committerKay Sievers <kay.sievers@suse.de>2005-07-14 11:39:55 +0200
commit8cf97fb046ddcfaea48ab6182b0f69996158d280 (patch)
treef1304b02c0926ccf50235e6a58f6d711a15c9385 /udev_rules.c
parentb0f57eb066cd897dab536ee37daab4239d136d4c (diff)
fix typo in GROUP value application
Diffstat (limited to 'udev_rules.c')
-rw-r--r--udev_rules.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev_rules.c b/udev_rules.c
index d08edf7782..5669a8593e 100644
--- a/udev_rules.c
+++ b/udev_rules.c
@@ -987,7 +987,7 @@ int udev_rules_get_name(struct udev_rules *rules, struct udevice *udev, struct s
if (rule->group.operation == KEY_OP_ASSIGN_FINAL)
udev->group_final = 1;
strlcpy(udev->group, key_val(rule, &rule->group), sizeof(udev->group));
- apply_format(udev, key_val(rule, &rule->group), sizeof(udev->group), class_dev, sysfs_device);
+ apply_format(udev, udev->group, sizeof(udev->group), class_dev, sysfs_device);
dbg("applied group='%s' to '%s'", udev->group, udev->kernel_name);
}