From owner-svn-src-all@freebsd.org Fri Apr 22 16:27:37 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0894EB19A03; Fri, 22 Apr 2016 16:27:37 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C79411794; Fri, 22 Apr 2016 16:27:36 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3MGRZsa091794; Fri, 22 Apr 2016 16:27:35 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3MGRZ3f091793; Fri, 22 Apr 2016 16:27:35 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201604221627.u3MGRZ3f091793@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Fri, 22 Apr 2016 16:27:35 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298480 - head/sys/dev/bhnd/bhndb X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Apr 2016 16:27:37 -0000 Author: adrian Date: Fri Apr 22 16:27:35 2016 New Revision: 298480 URL: https://svnweb.freebsd.org/changeset/base/298480 Log: [bhnd] Update bhndb format strings to match long -> rman_res_t size change. Does what it says on the tin; this unbreaks 32-bit builds. Submitted by: Landon Fuller Differential Revision: https://reviews.freebsd.org/D5764 Modified: head/sys/dev/bhnd/bhndb/bhndb.c Modified: head/sys/dev/bhnd/bhndb/bhndb.c ============================================================================== --- head/sys/dev/bhnd/bhndb/bhndb.c Fri Apr 22 16:26:53 2016 (r298479) +++ head/sys/dev/bhnd/bhndb/bhndb.c Fri Apr 22 16:27:35 2016 (r298480) @@ -757,7 +757,7 @@ bhndb_suspend_resource(device_t dev, dev } if (BHNDB_DEBUG(PRIO)) - device_printf(child, "suspend resource type=%d 0x%lx+0x%lx\n", + device_printf(child, "suspend resource type=%d 0x%jx+0x%jx\n", type, rman_get_start(r), rman_get_size(r)); /* Release the resource's window reference */ @@ -785,7 +785,7 @@ bhndb_resume_resource(device_t dev, devi return (0); if (BHNDB_DEBUG(PRIO)) - device_printf(child, "resume resource type=%d 0x%lx+0x%lx\n", + device_printf(child, "resume resource type=%d 0x%jx+0x%jx\n", type, rman_get_start(r), rman_get_size(r)); return (bhndb_try_activate_resource(sc, rman_get_device(r), type,