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 /udev/udevd.c | |
parent | abbc1c17a0cd0c6f5d00f9d2cd3bf19901ccb6f8 (diff) |
while (1) -> for (;;)
Diffstat (limited to 'udev/udevd.c')
-rw-r--r-- | udev/udevd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/udev/udevd.c b/udev/udevd.c index 802153b295..b48a91391d 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -536,7 +536,7 @@ static void events_start(struct udev *udev) static void worker_returned(void) { - while (1) { + for (;;) { struct worker_message msg; ssize_t size; struct udev_list_node *loop; @@ -709,7 +709,7 @@ static void handle_signal(struct udev *udev, int signo) udev_exit = true; break; case SIGCHLD: - while (1) { + for (;;) { pid_t pid; int status; struct udev_list_node *loop, *tmp; @@ -975,7 +975,7 @@ int main(int argc, char *argv[]) info(udev, "version %s\n", VERSION); udev_selinux_init(udev); - while (1) { + for (;;) { int option; option = getopt_long(argc, argv, "dDthV", options, NULL); |