Author: imp Date: Mon Mar 29 17:24:23 2010 New Revision: 205842 URL: http://svn.freebsd.org/changeset/base/205842
Log: Cast a bus_size_t to a (size_t) to use %zd specifier. Not quite the right thing to do, but it is in compat code I don't want to sort out at the moment. Modified: head/sys/dev/firewire/sbp.c Modified: head/sys/dev/firewire/sbp.c ============================================================================== --- head/sys/dev/firewire/sbp.c Mon Mar 29 17:09:04 2010 (r205841) +++ head/sys/dev/firewire/sbp.c Mon Mar 29 17:24:23 2010 (r205842) @@ -2698,7 +2698,7 @@ SBP_DEBUG(0) #else "segment length(%zd) is less than 16." #endif - "(seg=%d/%d)\n", s->ds_len, i+1, seg); + "(seg=%d/%d)\n", (size_t)s->ds_len, i+1, seg); END_DEBUG if (s->ds_len > SBP_SEG_MAX) panic("ds_len > SBP_SEG_MAX, fix busdma code"); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"