From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: [udev] small trivial cleanup of latest changes
Date: Thu, 25 Dec 2003 09:51:56 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-107234599227234@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 140 bytes --]
Hi,
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.
thanks,
Kay
[-- Attachment #2: 01-trivial-cleanup.diff --]
[-- Type: text/plain, Size: 1830 bytes --]
diff -Nru a/namedev_parse.c b/namedev_parse.c
--- a/namedev_parse.c Thu Dec 25 10:43:24 2003
+++ b/namedev_parse.c Thu Dec 25 10:43:24 2003
@@ -176,7 +176,7 @@
++temp;
/* empty line? */
- if ((*temp == 0x00) || (*temp == 0x0a))
+ if ((*temp == '\0') || (*temp == '\n'))
continue;
/* see if this is a comment */
@@ -376,7 +376,7 @@
++temp;
/* empty line? */
- if ((*temp == 0x00) || (*temp == 0x0a))
+ if ((*temp == '\0') || (*temp == '\n'))
continue;
/* see if this is a comment */
diff -Nru a/udev.8 b/udev.8
--- a/udev.8 Thu Dec 25 10:43:24 2003
+++ b/udev.8 Thu Dec 25 10:43:24 2003
@@ -78,7 +78,7 @@
# udev_permissions - The name and location of the udev permission file
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
default_mode="0666"
.fi
@@ -106,18 +106,18 @@
where valid methods with corresponding keys are:
.TP
.B CALLOUT
-calling external program, that returns a string to match. The
-.BR BUS
+calling external program, that returns a string to match. The
+.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
.B LABEL
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
+all of the values being required in order to match the rule. The
+.B BUS
key is optional, but if specified, the sysfs device bus must be able to be
detemined by a "device" symlink.
.br
next reply other threads:[~2003-12-25 9:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-25 9:51 Kay Sievers [this message]
2003-12-30 0:50 ` [udev] small trivial cleanup of latest changes Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-hotplug-107234599227234@msgid-missing \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).