summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/more.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/more.c b/util-linux/more.c
index 555f033..076b400 100644
--- a/util-linux/more.c
+++ b/util-linux/more.c
@@ -110,7 +110,7 @@ int more_main(int argc UNUSED_PARAM, char **argv)
if (input != 'r' && please_display_more_prompt) {
len = printf("--More-- ");
if (st.st_size > 0) {
- len += printf("(%d%% of %"OFF_FMT"d bytes)",
+ len += printf("(%u%% of %"OFF_FMT"u bytes)",
(int) (ftello(file)*100 / st.st_size),
st.st_size);
}