From adf3af8c359775e00c6323fde61264ed15ee0721 Mon Sep 17 00:00:00 2001 From: "roland@digitalvampire.org" Date: Wed, 12 Jan 2005 10:34:02 +0100 Subject: [PATCH] [PATCH] This fixes a silly mistake in how udevinfo prints the major and minor --- udevinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/udevinfo.c b/udevinfo.c index 00af081eac..a80ca82e12 100644 --- a/udevinfo.c +++ b/udevinfo.c @@ -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);