summaryrefslogtreecommitdiff
path: root/udev/udevadm-test.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-test.c
parentabbc1c17a0cd0c6f5d00f9d2cd3bf19901ccb6f8 (diff)
while (1) -> for (;;)
Diffstat (limited to 'udev/udevadm-test.c')
-rw-r--r--udev/udevadm-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevadm-test.c b/udev/udevadm-test.c
index 894620073a..4db70c49dd 100644
--- a/udev/udevadm-test.c
+++ b/udev/udevadm-test.c
@@ -50,7 +50,7 @@ int udevadm_test(struct udev *udev, int argc, char *argv[])
info(udev, "version %s\n", VERSION);
- while (1) {
+ for (;;) {
int option;
option = getopt_long(argc, argv, "a:s:fh", options, NULL);