summaryrefslogtreecommitdiff
path: root/examples/fileman.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2021-01-18 13:42:55 -0500
committerChet Ramey <chet.ramey@case.edu>2021-01-18 13:42:55 -0500
commitcf3c762ecfff5b2f445647a0f1543693984a5540 (patch)
treee21eb36970a06b1d8a2df6a97a161da43410e136 /examples/fileman.c
parentc5ad6be530f5c1daf64a2d20df4baba9f6b57aa4 (diff)
Readline-8.1 distribution sources and documentationreadline-8.1
Diffstat (limited to 'examples/fileman.c')
-rw-r--r--examples/fileman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/fileman.c b/examples/fileman.c
index c821df0..f8d0be7 100644
--- a/examples/fileman.c
+++ b/examples/fileman.c
@@ -377,11 +377,11 @@ com_stat (arg)
printf ("Statistics for `%s':\n", arg);
- printf ("%s has %d link%s, and is %d byte%s in length.\n",
+ printf ("%s has %d link%s, and is %lu byte%s in length.\n",
arg,
finfo.st_nlink,
(finfo.st_nlink == 1) ? "" : "s",
- finfo.st_size,
+ (unsigned long)finfo.st_size,
(finfo.st_size == 1) ? "" : "s");
printf ("Inode Last Change at: %s", ctime (&finfo.st_ctime));
printf (" Last access at: %s", ctime (&finfo.st_atime));