summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-02-15 22:27:33 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-02-15 22:28:31 +0100
commit0c19cc73da6cfab32214e8622b17d87be00e7d4e (patch)
tree002d943200d52513ca2875e6c26f4696ba2184c7
parentc54b43e2c233e724f840c4f6a0a81bdd549e40bb (diff)
update some comments
-rw-r--r--libudev/libudev-enumerate.c3
-rw-r--r--udev/udevadm-control.c1
2 files changed, 1 insertions, 3 deletions
diff --git a/libudev/libudev-enumerate.c b/libudev/libudev-enumerate.c
index 9694797d35..128813c7d6 100644
--- a/libudev/libudev-enumerate.c
+++ b/libudev/libudev-enumerate.c
@@ -274,8 +274,7 @@ struct udev_list_entry *udev_enumerate_get_list_entry(struct udev_enumerate *ude
/* skip to be delayed devices, and add them to the end of the list */
if (devices_delay_end(udev_enumerate->udev, entry->syspath)) {
syspath_add(udev_enumerate, entry->syspath);
- /* need to update prev here for the case realloc() gives
- a different address */
+ /* need to update prev here for the case realloc() gives a different address */
prev = &udev_enumerate->devices[i];
continue;
}
diff --git a/udev/udevadm-control.c b/udev/udevadm-control.c
index 8b90829211..0447804c95 100644
--- a/udev/udevadm-control.c
+++ b/udev/udevadm-control.c
@@ -44,7 +44,6 @@ int udevadm_control(struct udev *udev, int argc, char *argv[])
struct udev_ctrl *uctrl = NULL;
int rc = 1;
- /* compat values with '_' will be removed in a future release */
static const struct option options[] = {
{ "log-priority", required_argument, NULL, 'l' },
{ "stop-exec-queue", no_argument, NULL, 's' },