diff options
author | roland@digitalvampire.org <roland@digitalvampire.org> | 2005-01-12 10:34:02 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:21:57 -0700 |
commit | adf3af8c359775e00c6323fde61264ed15ee0721 (patch) | |
tree | 4533e860dca12080fc86b3e6716e83e3b3d54fab /udevinfo.c | |
parent | 021a294c04ad9e96706914765fe83148c287aded (diff) |
[PATCH] This fixes a silly mistake in how udevinfo prints the major and minor
Diffstat (limited to 'udevinfo.c')
-rw-r--r-- | udevinfo.c | 4 |
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); |