summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2008-10-26 14:48:48 +0000
committerKay Sievers <kay.sievers@vrfy.org>2008-10-26 15:55:47 +0100
commitbe7de4097af70515783cd0030f5e7a7a89bbadc8 (patch)
tree2cb87924cc4d15c4be3c48931562a5923907e749 /udev
parent427e20b261b056cf781af75ff60f067714b750bb (diff)
kerneldoc comment fixes
s/ressources/resources/ Also reduce commas per sentence and add a possessive apostrophe.
Diffstat (limited to 'udev')
-rw-r--r--udev/lib/libudev-device.c4
-rw-r--r--udev/lib/libudev-monitor.c10
-rw-r--r--udev/lib/libudev.c8
3 files changed, 11 insertions, 11 deletions
diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c
index 11a6037d1b..3f8ee1071c 100644
--- a/udev/lib/libudev-device.c
+++ b/udev/lib/libudev-device.c
@@ -266,7 +266,7 @@ struct udev_device *device_new(struct udev *udev)
* path to the device, including the sys mount point.
*
* The initial refcount is 1, and needs to be decremented to
- * release the ressources of the udev device.
+ * release the resources of the udev device.
*
* Returns: a new udev device, or #NULL, if it does not exist
**/
@@ -587,7 +587,7 @@ struct udev_device *udev_device_ref(struct udev_device *udev_device)
* @udev_device: udev device
*
* Drop a reference of a udev device. If the refcount reaches zero,
- * the ressources of the device will be released.
+ * the resources of the device will be released.
*
**/
void udev_device_unref(struct udev_device *udev_device)
diff --git a/udev/lib/libudev-monitor.c b/udev/lib/libudev-monitor.c
index f70bdb2d03..fc5b176be0 100644
--- a/udev/lib/libudev-monitor.c
+++ b/udev/lib/libudev-monitor.c
@@ -54,7 +54,7 @@ struct udev_monitor {
* socket will be used.
*
* The initial refcount is 1, and needs to be decremented to
- * release the ressources of the udev monitor.
+ * release the resources of the udev monitor.
*
* Returns: a new udev monitor, or #NULL, in case of an error
**/
@@ -178,7 +178,7 @@ struct udev_monitor *udev_monitor_ref(struct udev_monitor *udev_monitor)
* @udev_monitor: udev monitor
*
* Drop a reference ofa udev monitor. If the refcount reaches zero,
- * the bound socket will be closed, and the ressources of the monitor
+ * the bound socket will be closed, and the resources of the monitor
* will be released.
*
**/
@@ -233,11 +233,11 @@ int udev_monitor_get_fd(struct udev_monitor *udev_monitor)
* device, fill in the received data, and return the device.
*
* Only socket connections with uid=0 are accepted. The caller
- * needs to make sure, that there is data to read from the socket,
- * the call will block until the socket becomes readable.
+ * needs to make sure that there is data to read from the socket.
+ * The call will block until the socket becomes readable.
*
* The initial refcount is 1, and needs to be decremented to
- * release the ressources of the udev device.
+ * release the resources of the udev device.
*
* Returns: a new udev device, or #NULL, in case of an error
**/
diff --git a/udev/lib/libudev.c b/udev/lib/libudev.c
index fcb784580b..e26e8b132d 100644
--- a/udev/lib/libudev.c
+++ b/udev/lib/libudev.c
@@ -85,7 +85,7 @@ void udev_set_userdata(struct udev *udev, void *userdata)
* Create udev library context.
*
* The initial refcount is 1, and needs to be decremented to
- * release the ressources of the udev library context.
+ * release the resources of the udev library context.
*
* Returns: a new udev library context
**/
@@ -267,7 +267,7 @@ struct udev *udev_ref(struct udev *udev)
* @udev: udev library context
*
* Drop a reference of the udev library context. If the refcount
- * reaches zero, the ressources of the context will be released.
+ * reaches zero, the resources of the context will be released.
*
**/
void udev_unref(struct udev *udev)
@@ -290,9 +290,9 @@ void udev_unref(struct udev *udev)
* @udev: udev library context
* @log_fn: function to be called for logging messages
*
- * The built-in logging, which writes to stderr, it can be
+ * The built-in logging writes to stderr. It can be
* overridden by a custom function, to plug log messages
- * into the users logging functionality.
+ * into the users' logging functionality.
*
**/
void udev_set_log_fn(struct udev *udev,