From be7de4097af70515783cd0030f5e7a7a89bbadc8 Mon Sep 17 00:00:00 2001 From: Alan Jenkins Date: Sun, 26 Oct 2008 14:48:48 +0000 Subject: [PATCH] kerneldoc comment fixes s/ressources/resources/ Also reduce commas per sentence and add a possessive apostrophe. --- udev/lib/libudev-device.c | 4 ++-- udev/lib/libudev-monitor.c | 10 +++++----- udev/lib/libudev.c | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/udev/lib/libudev-device.c b/udev/lib/libudev-device.c index 11a6037d1..3f8ee1071 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 f70bdb2d0..fc5b176be 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 fcb784580..e26e8b132 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, -- 2.30.2