diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-05 23:26:44 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-05 23:26:44 +0000 |
commit | 250a22176815303f9af072a11278108f7767282b (patch) | |
tree | deb2971095d68588538830f0f0044ddf1eb5ae43 /more.c | |
parent | 83f173b61ec4df708d6ead45540ede3a28c2e630 (diff) |
more FILE_OFFSET_BITS == 64 adjustments.
Diffstat (limited to 'more.c')
-rw-r--r-- | more.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -124,13 +124,13 @@ extern int more_main(int argc, char **argv) if (file != stdin) { #if _FILE_OFFSET_BITS == 64 len += printf("(%d%% of %lld bytes)", + (int) (100 * ((double) ftell(file) / + (double) st.st_size)), (long long)st.st_size); #else len += printf("(%d%% of %ld bytes)", + (int) (100 * ((double) ftell(file) / + (double) st.st_size)), (long)st.st_size); #endif - (int) (100 * - ((double) ftell(file) / - (double) st.st_size)), - st.st_size); } len += printf("%s", #ifdef BB_FEATURE_USE_TERMIOS |