mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
[PATCH] This fixes a silly mistake in how udevinfo prints the major and minor
This commit is contained in:
parent
021a294c04
commit
adf3af8c35
@ -218,8 +218,8 @@ static int print_sysfs_devices(void)
|
||||
attr = sysfs_get_classdev_attr(class_dev, "dev");
|
||||
if (attr) {
|
||||
sscanf(attr->value, "%u:%u", &major, &minor);
|
||||
printf("MAJOR %u\n", minor);
|
||||
printf("MINOR %u\n", major);
|
||||
printf("MAJOR %u\n", major);
|
||||
printf("MINOR %u\n", minor);
|
||||
}
|
||||
|
||||
phys_dev = sysfs_get_classdev_device(class_dev);
|
||||
|
Loading…
Reference in New Issue
Block a user