summaryrefslogtreecommitdiff
path: root/misc/filefrag.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/filefrag.c')
-rw-r--r--misc/filefrag.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/filefrag.c b/misc/filefrag.c
index e625d4c7..27675b19 100644
--- a/misc/filefrag.c
+++ b/misc/filefrag.c
@@ -110,7 +110,8 @@ static void frag_report(const char *filename)
(fsinfo.f_type == 0xef53))
is_ext2++;
if (verbose) {
- printf("Filesystem type is: %x\n", fsinfo.f_type);
+ printf("Filesystem type is: %lx\n",
+ (unsigned long) fsinfo.f_type);
}
cylgroups = div_ceil(fsinfo.f_blocks, fsinfo.f_bsize*8);
if (verbose) {