[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:
kay.sievers@vrfy.org 2003-12-30 00:54:29 -08:00 committed by Greg KH
parent 1f99bc3254
commit e15b5ed5de
2 changed files with 8 additions and 8 deletions

View File

@ -176,7 +176,7 @@ int namedev_init_rules(void)
++temp;
/* empty line? */
if ((*temp == 0x00) || (*temp == 0x0a))
if ((*temp == '\0') || (*temp == '\n'))
continue;
/* see if this is a comment */
@ -376,7 +376,7 @@ int namedev_init_permissions(void)
++temp;
/* empty line? */
if ((*temp == 0x00) || (*temp == 0x0a))
if ((*temp == '\0') || (*temp == '\n'))
continue;
/* see if this is a comment */

6
udev.8
View File

@ -107,9 +107,9 @@ where valid methods with corresponding keys are:
.TP
.B CALLOUT
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
detemined by a "device" symlink.
determined by a "device" symlink.
.br
.RB "keys: " BUS ", " PROGRAM ", " ID
.TP
@ -117,7 +117,7 @@ detemined by a "device" symlink.
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
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
detemined by a "device" symlink.
.br