svn commit: r212210 - head/sys/dev/twa
Bjoern A. Zeeb
bz at FreeBSD.org
Sat Sep 4 16:27:15 UTC 2010
Author: bz
Date: Sat Sep 4 16:27:14 2010
New Revision: 212210
URL: http://svn.freebsd.org/changeset/base/212210
Log:
Fix a compile problem introduced with r212008 on 32bit:
Both deadline and current_time are time_seconds (+ utc_offset())
casted to unsigned long long. No need to cast to or print as pointers.
MFC after: 4 days
Modified:
head/sys/dev/twa/tw_osl_freebsd.c
Modified: head/sys/dev/twa/tw_osl_freebsd.c
==============================================================================
--- head/sys/dev/twa/tw_osl_freebsd.c Sat Sep 4 16:06:01 2010 (r212209)
+++ head/sys/dev/twa/tw_osl_freebsd.c Sat Sep 4 16:27:14 2010 (r212210)
@@ -472,7 +472,7 @@ twa_watchdog(TW_VOID *arg)
(my_req->deadline < current_time)) {
tw_cl_set_reset_needed(ctlr_handle);
#ifdef TW_OSL_DEBUG
- device_printf((sc)->bus_dev, "Request %d timed out! d = %p, c = %p\n", i, (void*)my_req->deadline, (void*)current_time);
+ device_printf((sc)->bus_dev, "Request %d timed out! d = %llu, c = %llu\n", i, my_req->deadline, current_time);
#else /* TW_OSL_DEBUG */
device_printf((sc)->bus_dev, "Request %d timed out!\n", i);
#endif /* TW_OSL_DEBUG */
More information about the svn-src-head
mailing list