summaryrefslogtreecommitdiff
path: root/udev-add.c
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2003-10-20 20:31:24 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:01:42 -0700
commit727d1ba5bee517fb8df940b31280a13035552386 (patch)
tree587d86efcec76670e9cc054cda7a1e938eab0438 /udev-add.c
parenta9ce0a410e7ef573f2f1f48ea793829d3cec389f (diff)
[PATCH] fix comment about how the "dev" file is made up.
Diffstat (limited to 'udev-add.c')
-rw-r--r--udev-add.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/udev-add.c b/udev-add.c
index d158c41b1d..aa93a0c018 100644
--- a/udev-add.c
+++ b/udev-add.c
@@ -39,12 +39,10 @@
* Right now the major/minor of a device is stored in a file called
* "dev" in sysfs.
* The number is stored as:
- * MMmm
+ * MM:mm
* MM is the major
* mm is the minor
- * The value is in hex.
- * Yes, this will probably change when we go to a bigger major/minor
- * range, and will have to be changed at that time.
+ * The value is in decimal.
*/
static int get_major_minor(struct sysfs_class_device *class_dev, int *major, int *minor)
{