diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/loadables/finfo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/loadables/finfo.c b/examples/loadables/finfo.c index 72f859f6..8c278c35 100644 --- a/examples/loadables/finfo.c +++ b/examples/loadables/finfo.c @@ -340,13 +340,13 @@ int flags; else printf("%ld\n", st->st_ctime); } else if (flags & OPT_DEV) - printf("%d\n", st->st_dev); + printf("%lu\n", (unsigned long)st->st_dev); else if (flags & OPT_INO) printf("%lu\n", (unsigned long)st->st_ino); else if (flags & OPT_FID) - printf("%d:%lu\n", st->st_dev, (unsigned long)st->st_ino); + printf("%lu:%lu\n", (unsigned long)st->st_dev, (unsigned long)st->st_ino); else if (flags & OPT_NLINK) - printf("%d\n", st->st_nlink); + printf("%lu\n", (unsigned long)st->st_nlink); else if (flags & OPT_LNKNAM) { #ifdef S_ISLNK b = xmalloc(4096); |