svn commit: r187820 - head/sbin/dumpfs
Robert Watson
rwatson at FreeBSD.org
Wed Jan 28 04:08:47 PST 2009
Author: rwatson
Date: Wed Jan 28 12:08:19 2009
New Revision: 187820
URL: http://svn.freebsd.org/changeset/base/187820
Log:
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
Modified:
head/sbin/dumpfs/dumpfs.c
Modified: head/sbin/dumpfs/dumpfs.c
==============================================================================
--- head/sbin/dumpfs/dumpfs.c Wed Jan 28 11:43:12 2009 (r187819)
+++ head/sbin/dumpfs/dumpfs.c Wed Jan 28 12:08:19 2009 (r187820)
@@ -456,7 +456,7 @@ pblklist(void *vp, int max, off_t offset
while ((i+1)<max && isset(p, i+1))
i++;
if (i != j)
- printf("-%lld", i + offset);
+ printf("-%jd", (intmax_t)(i + offset));
}
printf("\n");
}
More information about the svn-src-head
mailing list