summaryrefslogtreecommitdiffstats
path: root/sbin/dumpfs
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-01-28 12:08:19 +0000
committerrwatson <rwatson@FreeBSD.org>2009-01-28 12:08:19 +0000
commit4185e1e7a921834323cef0a303779cd445598788 (patch)
treebbd7a98801334b8c3affbe617116cb6b6cd902bf /sbin/dumpfs
parent427f135f75c140223e2978bc16a1990f7b3b47c6 (diff)
downloadFreeBSD-src-4185e1e7a921834323cef0a303779cd445598788.zip
FreeBSD-src-4185e1e7a921834323cef0a303779cd445598788.tar.gz
Print disk offets as %jd rather than %lld; I fixed one before committing
but missed the other, which breaks 64-bit builds. Reported by: bf <bf2006a at yahoo dot com> MFC after: 1 week
Diffstat (limited to 'sbin/dumpfs')
-rw-r--r--sbin/dumpfs/dumpfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dumpfs/dumpfs.c b/sbin/dumpfs/dumpfs.c
index 14f6ea2..2f577d9 100644
--- a/sbin/dumpfs/dumpfs.c
+++ b/sbin/dumpfs/dumpfs.c
@@ -456,7 +456,7 @@ pblklist(void *vp, int max, off_t offset, int fflag)
while ((i+1)<max && isset(p, i+1))
i++;
if (i != j)
- printf("-%lld", i + offset);
+ printf("-%jd", (intmax_t)(i + offset));
}
printf("\n");
}
OpenPOWER on IntegriCloud