X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=udev%2Flib%2Flibudev-monitor.c;h=fc5b176be09f28745472e0c9aa9ffb05be114ce7;hp=f70bdb2d03b7ee5dc1b490dbf0c4f2d2a20c3840;hb=be7de4097af70515783cd0030f5e7a7a89bbadc8;hpb=c2654402790de8ba3e9f413ab1da0b18dd262317 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 **/