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 /libudev/libudev-util-private.c | |
parent | abbc1c17a0cd0c6f5d00f9d2cd3bf19901ccb6f8 (diff) |
while (1) -> for (;;)
Diffstat (limited to 'libudev/libudev-util-private.c')
-rw-r--r-- | libudev/libudev-util-private.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libudev/libudev-util-private.c b/libudev/libudev-util-private.c index 8c535125a8..7d28b23b38 100644 --- a/libudev/libudev-util-private.c +++ b/libudev/libudev-util-private.c @@ -84,7 +84,7 @@ int util_delete_path(struct udev *udev, const char *path) if (pos == p || pos == NULL) return 0; - while (1) { + for (;;) { *pos = '\0'; pos = strrchr(p, '/'); |