svn commit: r298480 - head/sys/dev/bhnd/bhndb
Adrian Chadd
adrian at FreeBSD.org
Fri Apr 22 16:27:37 UTC 2016
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 at 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,
More information about the svn-src-head
mailing list