aboutsummaryrefslogtreecommitdiff
path: root/more.c
diff options
context:
space:
mode:
Diffstat (limited to 'more.c')
-rw-r--r--more.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/more.c b/more.c
index 12168b519..45b7c1274 100644
--- a/more.c
+++ b/more.c
@@ -123,7 +123,11 @@ extern int more_main(int argc, char **argv)
123 lines = 0; 123 lines = 0;
124 len = fprintf(stdout, "--More-- "); 124 len = fprintf(stdout, "--More-- ");
125 if (file != stdin) { 125 if (file != stdin) {
126#if _FILE_OFFSET_BITS == 64
127 len += fprintf(stdout, "(%d%% of %lld bytes)",
128#else
126 len += fprintf(stdout, "(%d%% of %ld bytes)", 129 len += fprintf(stdout, "(%d%% of %ld bytes)",
130#endif
127 (int) (100 * 131 (int) (100 *
128 ((double) ftell(file) / 132 ((double) ftell(file) /
129 (double) st.st_size)), 133 (double) st.st_size)),