1
1
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:
roland@digitalvampire.org 2005-01-12 10:34:02 +01:00 committed by Greg KH
parent 021a294c04
commit adf3af8c35

View File

@ -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);