Date: Fri, 22 Apr 2016 16:27:35 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298480 - head/sys/dev/bhnd/bhndb Message-ID: <201604221627.u3MGRZ3f091793@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <landonf@landonf.org> 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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604221627.u3MGRZ3f091793>