Date: Wed, 28 Jan 2009 12:08:19 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r187820 - head/sbin/dumpfs Message-ID: <200901281208.n0SC8J7p019246@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901281208.n0SC8J7p019246>