From owner-svn-src-head@FreeBSD.ORG Sat Sep 4 16:27:15 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CD9C10656A4; Sat, 4 Sep 2010 16:27:15 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id F119F8FC12; Sat, 4 Sep 2010 16:27:14 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o84GRE46021799; Sat, 4 Sep 2010 16:27:14 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o84GREfL021797; Sat, 4 Sep 2010 16:27:14 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <201009041627.o84GREfL021797@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Sat, 4 Sep 2010 16:27:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r212210 - head/sys/dev/twa X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2010 16:27:15 -0000 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 */