chiark / gitweb /
[PATCH] fix a few stale comments in namedev.c
[elogind.git] / namedev.c
index 80ab96afe53df483f4d7fb5444cc2b66816af9c0..4247b26693a96e2fec88d4639f8924ff151d916d 100644 (file)
--- a/namedev.c
+++ b/namedev.c
@@ -449,7 +449,7 @@ static int match_id(struct config_device *dev, struct sysfs_class_device *class_
        int found;
        char *temp = NULL;
 
-       /* we have to have a sysfs device for NUMBER to work */
+       /* we have to have a sysfs device for ID to work */
        if (!sysfs_device)
                return -ENODEV;
 
@@ -480,7 +480,7 @@ static int match_place(struct config_device *dev, struct sysfs_class_device *cla
        int found;
        char *temp = NULL;
 
-       /* we have to have a sysfs device for NUMBER to work */
+       /* we have to have a sysfs device for PLACE to work */
        if (!sysfs_device)
                return -ENODEV;