diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2010-05-27 15:11:00 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-05-27 15:11:00 +0200 |
commit | 88cbfb09ee5510277503ff1830ecc3aa6c380b00 (patch) | |
tree | 5e836252fc5c2061066d2afe386db29b254d514d /libudev/libudev-queue.c | |
parent | abbc1c17a0cd0c6f5d00f9d2cd3bf19901ccb6f8 (diff) |
while (1) -> for (;;)
Diffstat (limited to 'libudev/libudev-queue.c')
-rw-r--r-- | libudev/libudev-queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libudev/libudev-queue.c b/libudev/libudev-queue.c index d305db6578..be8804bdd0 100644 --- a/libudev/libudev-queue.c +++ b/libudev/libudev-queue.c @@ -243,7 +243,7 @@ unsigned long long int udev_queue_get_udev_seqnum(struct udev_queue *udev_queue) if (queue_file == NULL) return 0; - while (1) { + for (;;) { unsigned long long int seqnum; ssize_t devpath_len; @@ -435,7 +435,7 @@ struct udev_list_entry *udev_queue_get_queued_list_entry(struct udev_queue *udev if (queue_file == NULL) return NULL; - while (1) { + for (;;) { char syspath[UTIL_PATH_SIZE]; char *s; size_t l; |