summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udevinfo.c4
1 files 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);