chiark / gitweb /
Docs: udev.xml: `are' -> `is'; the subject is `Access'
[elogind.git] / udev / udevadm-settle.c
index 4f422f90927d410b3287721245fed26444435840..1423cec6dc72c44108fb328f8d3878ae81797b20 100644 (file)
@@ -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 };