]> err.no Git - systemd/commitdiff
fix typo in GROUP value application
authorAnton Farygin <rider@altlinux.com>
Thu, 14 Jul 2005 09:39:55 +0000 (11:39 +0200)
committerKay Sievers <kay.sievers@suse.de>
Thu, 14 Jul 2005 09:39:55 +0000 (11:39 +0200)
udev_rules.c

index d08edf7782fda5460153f9569efdfaa0623c5f21..5669a8593ede14c05c1449ebcbe66086cc01bc91 100644 (file)
@@ -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);
                        }