summaryrefslogtreecommitdiff
path: root/udev/udevadm-control.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-control.c
parentabbc1c17a0cd0c6f5d00f9d2cd3bf19901ccb6f8 (diff)
while (1) -> for (;;)
Diffstat (limited to 'udev/udevadm-control.c')
-rw-r--r--udev/udevadm-control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevadm-control.c b/udev/udevadm-control.c
index 0fd69b9a0a..4303aeb5a8 100644
--- a/udev/udevadm-control.c
+++ b/udev/udevadm-control.c
@@ -66,7 +66,7 @@ int udevadm_control(struct udev *udev, int argc, char *argv[])
if (uctrl == NULL)
return 2;
- while (1) {
+ for (;;) {
int option;
int i;
char *endp;