summaryrefslogtreecommitdiff
path: root/udev/udevadm-settle.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-05-27 15:11:00 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-05-27 15:11:00 +0200
commit88cbfb09ee5510277503ff1830ecc3aa6c380b00 (patch)
tree5e836252fc5c2061066d2afe386db29b254d514d /udev/udevadm-settle.c
parentabbc1c17a0cd0c6f5d00f9d2cd3bf19901ccb6f8 (diff)
while (1) -> for (;;)
Diffstat (limited to 'udev/udevadm-settle.c')
-rw-r--r--udev/udevadm-settle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udevadm-settle.c b/udev/udevadm-settle.c
index 4f422f9092..1423cec6dc 100644
--- a/udev/udevadm-settle.c
+++ b/udev/udevadm-settle.c
@@ -84,7 +84,7 @@ int udevadm_settle(struct udev *udev, int argc, char *argv[])
sigaddset(&mask, SIGALRM);
sigprocmask(SIG_UNBLOCK, &mask, NULL);
- while (1) {
+ for (;;) {
int option;
int seconds;
@@ -181,7 +181,7 @@ int udevadm_settle(struct udev *udev, int argc, char *argv[])
}
}
- while (1) {
+ for (;;) {
struct stat statbuf;
const struct timespec duration = { 0 , 1000 * 1000 * 1000 / LOOP_PER_SECOND };