mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
[PATCH] correct log statement
This commit is contained in:
parent
b9a8c4821a
commit
3908058c10
@ -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);
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user