diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-09 14:33:32 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-09 14:59:53 +0200 |
commit | 57255510c95ca3369d241502f26d7bbd8fac30a6 (patch) | |
tree | 0f08bcb8422da1cd42e6de2cf8d61f6db711956a /src/bootchart | |
parent | 1f6b411372076426c0faf0bb350437fb4d82931f (diff) |
tree-wide: replace while(1) by for(;;) everywhere
Another Coccinelle script.
Diffstat (limited to 'src/bootchart')
-rw-r--r-- | src/bootchart/svg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c index 1231e6eace..c66f12e3a6 100644 --- a/src/bootchart/svg.c +++ b/src/bootchart/svg.c @@ -888,7 +888,7 @@ static struct ps_struct *get_next_ps(struct ps_struct *ps, struct ps_struct *ps_ return ps->next; /* go back for parent siblings */ - while (1) { + for (;;) { if (ps->parent && ps->parent->next) return ps->parent->next; |