summaryrefslogtreecommitdiff
path: root/namedev.c
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-12-22 01:41:03 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:19:09 -0700
commit3908058c10dea619e1c676ee8a167ef3e590a3bd (patch)
tree59eadaa32413c29e9d932813f4e4971f521062e9 /namedev.c
parentb9a8c4821a98df33ba2cc5b18b15d7175709c376 (diff)
[PATCH] correct log statement
Diffstat (limited to 'namedev.c')
-rw-r--r--namedev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/namedev.c b/namedev.c
index 58615ad5d0..26c68fadf6 100644
--- a/namedev.c
+++ b/namedev.c
@@ -724,6 +724,7 @@ int namedev_name_device(struct udevice *udev, struct sysfs_class_device *class_d
return -1;
}
+ /* apply permissions only rule values */
if (dev->mode != 0000) {
udev->mode = dev->mode;
dbg("applied mode=%#o to '%s'", udev->mode, udev->kernel_name);
@@ -744,7 +745,7 @@ int namedev_name_device(struct udevice *udev, struct sysfs_class_device *class_d
if (dev->symlink[0] != '\0') {
char temp[NAME_SIZE];
- info("configured symlink-only rule in '%s[%i]' applied, added symlink '%s'",
+ info("configured rule in '%s[%i]' applied, added symlink '%s'",
dev->config_file, dev->config_line, dev->symlink);
strfieldcpy(temp, dev->symlink);
apply_format(udev, temp, sizeof(temp), class_dev, sysfs_device);