summaryrefslogtreecommitdiff
path: root/udev/udevadm-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/udevadm-info.c')
-rw-r--r--udev/udevadm-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevadm-info.c b/udev/udevadm-info.c
index b395ad93b6..14baa6accb 100644
--- a/udev/udevadm-info.c
+++ b/udev/udevadm-info.c
@@ -238,7 +238,7 @@ int udevadm_info(struct udev *udev, int argc, char *argv[])
QUERY_ALL,
} query = QUERY_NONE;
- while (1) {
+ for (;;) {
int option;
struct stat statbuf;