diff options
author | Chet Ramey <chet.ramey@case.edu> | 2018-12-20 11:41:58 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2018-12-20 11:41:58 -0500 |
commit | f250956cb2a8dca13fc0242affc225f9d6983604 (patch) | |
tree | 2df8e15963af786dc8efed1c91c4d823a3bf05bb /examples/loadables/finfo.c | |
parent | 2ae59c1134a75d5778997b7202b15b0586283042 (diff) | |
download | bash-5.0-testing.tar.gz |
bash-5.0-rc1 releasebash-5.0-rc1bash-5.0-testing
Diffstat (limited to 'examples/loadables/finfo.c')
-rw-r--r-- | examples/loadables/finfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/loadables/finfo.c b/examples/loadables/finfo.c index 00833f68..4273aa59 100644 --- a/examples/loadables/finfo.c +++ b/examples/loadables/finfo.c @@ -336,9 +336,9 @@ int flags; } else if (flags & OPT_DEV) printf("%d\n", st->st_dev); else if (flags & OPT_INO) - printf("%d\n", st->st_ino); + printf("%lu\n", (unsigned long)st->st_ino); else if (flags & OPT_FID) - printf("%d:%ld\n", st->st_dev, st->st_ino); + printf("%d:%lu\n", st->st_dev, (unsigned long)st->st_ino); else if (flags & OPT_NLINK) printf("%d\n", st->st_nlink); else if (flags & OPT_LNKNAM) { |