svn commit: r192808 - head/sys/geom
Ulf Lilleengen
lulf at FreeBSD.org
Tue May 26 14:15:07 UTC 2009
Author: lulf
Date: Tue May 26 14:15:06 2009
New Revision: 192808
URL: http://svn.freebsd.org/changeset/base/192808
Log:
- Unbreak 64 bit platforms by casting off_t to intmax.
Modified:
head/sys/geom/geom_subr.c
Modified: head/sys/geom/geom_subr.c
==============================================================================
--- head/sys/geom/geom_subr.c Tue May 26 14:13:12 2009 (r192807)
+++ head/sys/geom/geom_subr.c Tue May 26 14:15:06 2009 (r192808)
@@ -1310,11 +1310,11 @@ DB_SHOW_COMMAND(bio, db_show_bio)
db_print_bio_flags(bp);
db_printf(" cflags: 0x%hhx\n", bp->bio_cflags);
db_printf(" pflags: 0x%hhx\n", bp->bio_pflags);
- db_printf(" offset: %lld\n", bp->bio_offset);
- db_printf(" length: %lld\n", bp->bio_length);
+ db_printf(" offset: %jd\n", (intmax_t)bp->bio_offset);
+ db_printf(" length: %jd\n", (intmax_t)bp->bio_length);
db_printf(" bcount: %ld\n", bp->bio_bcount);
db_printf(" resid: %ld\n", bp->bio_resid);
- db_printf(" completed: %lld\n", bp->bio_completed);
+ db_printf(" completed: %jd\n", (intmax_t)bp->bio_completed);
db_printf(" children: %u\n", bp->bio_children);
db_printf(" inbed: %u\n", bp->bio_inbed);
db_printf(" error: %d\n", bp->bio_error);
More information about the svn-src-head
mailing list