From: kay.sievers@vrfy.org Date: Wed, 22 Dec 2004 00:41:03 +0000 (+0100) Subject: [PATCH] correct log statement X-Git-Tag: 051~27 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=3908058c10dea619e1c676ee8a167ef3e590a3bd [PATCH] correct log statement --- diff --git a/namedev.c b/namedev.c index 58615ad5d..26c68fadf 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); diff --git a/udev.8.in b/udev.8.in index 4b8691f84..aaaf23163 100644 --- a/udev.8.in +++ b/udev.8.in @@ -176,7 +176,7 @@ distribution provided rules file. .TP .B OWNER, GROUP, MODE The permissions for the device node. Every specified value overwrites the -default value specified in the config file. +compiled-in default value. .P .RB "The " NAME ", " SYMLINK ", " PROGRAM ", " OWNER " and " GROUP fields support simple printf-like string substitutions: