[PATCH] small trivial cleanup of latest changes
here is a patch for a typo in the man page, a whitespace cleanup and a replace for the magic hex ASCII in char operations.
This commit is contained in:
parent
1f99bc3254
commit
e15b5ed5de
|
@ -176,7 +176,7 @@ int namedev_init_rules(void)
|
||||||
++temp;
|
++temp;
|
||||||
|
|
||||||
/* empty line? */
|
/* empty line? */
|
||||||
if ((*temp == 0x00) || (*temp == 0x0a))
|
if ((*temp == '\0') || (*temp == '\n'))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* see if this is a comment */
|
/* see if this is a comment */
|
||||||
|
@ -376,7 +376,7 @@ int namedev_init_permissions(void)
|
||||||
++temp;
|
++temp;
|
||||||
|
|
||||||
/* empty line? */
|
/* empty line? */
|
||||||
if ((*temp == 0x00) || (*temp == 0x0a))
|
if ((*temp == '\0') || (*temp == '\n'))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* see if this is a comment */
|
/* see if this is a comment */
|
||||||
|
|
12
udev.8
12
udev.8
|
@ -78,7 +78,7 @@ udev_rules="/etc/udev/udev.rules"
|
||||||
# udev_permissions - The name and location of the udev permission file
|
# udev_permissions - The name and location of the udev permission file
|
||||||
udev_permissions="/etc/udev/udev.permissions"
|
udev_permissions="/etc/udev/udev.permissions"
|
||||||
|
|
||||||
# default_mode - set the default mode for all nodes that have no
|
# default_mode - set the default mode for all nodes that have no
|
||||||
# explicit match in the permissions file
|
# explicit match in the permissions file
|
||||||
default_mode="0666"
|
default_mode="0666"
|
||||||
.fi
|
.fi
|
||||||
|
@ -106,18 +106,18 @@ The line format is:
|
||||||
where valid methods with corresponding keys are:
|
where valid methods with corresponding keys are:
|
||||||
.TP
|
.TP
|
||||||
.B CALLOUT
|
.B CALLOUT
|
||||||
calling external program, that returns a string to match. The
|
calling external program, that returns a string to match. The
|
||||||
.BR BUS
|
.B BUS
|
||||||
key is optional, but if specified, the sysfs device bus must be able to be
|
key is optional, but if specified, the sysfs device bus must be able to be
|
||||||
detemined by a "device" symlink.
|
determined by a "device" symlink.
|
||||||
.br
|
.br
|
||||||
.RB "keys: " BUS ", " PROGRAM ", " ID
|
.RB "keys: " BUS ", " PROGRAM ", " ID
|
||||||
.TP
|
.TP
|
||||||
.B LABEL
|
.B LABEL
|
||||||
device label or serial number, like USB serial number, SCSI UUID or
|
device label or serial number, like USB serial number, SCSI UUID or
|
||||||
file system label. Up to 5 different sysfs files can be checked, with
|
file system label. Up to 5 different sysfs files can be checked, with
|
||||||
all of the values being required in order to match the rule. The
|
all of the values being required in order to match the rule. The
|
||||||
.BR BUS
|
.B BUS
|
||||||
key is optional, but if specified, the sysfs device bus must be able to be
|
key is optional, but if specified, the sysfs device bus must be able to be
|
||||||
detemined by a "device" symlink.
|
detemined by a "device" symlink.
|
||||||
.br
|
.br
|
||||||
|
|
Loading…
Reference in New Issue