summaryrefslogtreecommitdiff
path: root/udev/udev-event.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/udev-event.c
parentabbc1c17a0cd0c6f5d00f9d2cd3bf19901ccb6f8 (diff)
while (1) -> for (;;)
Diffstat (limited to 'udev/udev-event.c')
-rw-r--r--udev/udev-event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udev-event.c b/udev/udev-event.c
index 9c2ce1d388..44e24313f5 100644
--- a/udev/udev-event.c
+++ b/udev/udev-event.c
@@ -111,7 +111,7 @@ size_t udev_event_apply_format(struct udev_event *event, const char *src, char *
s = dest;
l = size;
- while (1) {
+ for (;;) {
enum subst_type type = SUBST_UNKNOWN;
char attrbuf[UTIL_PATH_SIZE];
char *attr = NULL;