1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00

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
This commit is contained in:
Bjoern A. Zeeb 2010-09-04 16:27:14 +00:00
parent 42db1b87d6
commit 3887319477
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212210

View File

@ -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 */