mirror of
https://github.com/systemd/systemd.git
synced 2025-08-24 09:49:49 +03:00
[PATCH] fix a few stale comments in namedev.c
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user