summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--text-utils/display.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/text-utils/display.c b/text-utils/display.c
index 1b82d3fe4..524c8b897 100644
--- a/text-utils/display.c
+++ b/text-utils/display.c
@@ -253,7 +253,8 @@ get(void)
savp = tmpp;
address += blocksize;
}
- for (need = blocksize, nread = 0;;) {
+ need = blocksize, nread = 0;
+ while (TRUE) {
/*
* if read the right number of bytes, or at EOF for one file,
* and no other files are available, zero-pad the rest of the