1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

fix typo in GROUP value application

This commit is contained in:
Anton Farygin 2005-07-14 11:39:55 +02:00 committed by Kay Sievers
parent b0f57eb066
commit 8cf97fb046

View 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);
}