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
This commit is contained in:
Robert Watson 2009-01-28 12:08:19 +00:00
parent 16e3606f57
commit 6458691cc4

View File

@ -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");
}