]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ddb: fix show devmap output on 32-bit arm
authorThomas Skibo <thomas-bsd@skibo.net>
Mon, 11 Jan 2021 20:58:12 +0000 (16:58 -0400)
committerMitchell Horne <mhorne@FreeBSD.org>
Wed, 3 Mar 2021 21:54:45 +0000 (17:54 -0400)
commit661e2b8e1486cc966304ff98f766463de07e3f02
tree5d61f8d03bee9bdcfdc036cc5025296a59f034a0
parentd2d99e6757fb69f5b02711bba444774222ee9b3e
ddb: fix show devmap output on 32-bit arm

The output has been broken since 1b6dd6d772ca. Casting to uintmax_t
before the call to printf is necessary to ensure that 32-bit addresses
are interpreted correctly.

PR: 243236
Approved by: re (gjb)

(cherry picked from commit 9976b42b697ce203b1d257b2a6fe64c8a2961645)
(cherry picked from commit 0a223cf980b5ef8bea726a843fe5a7faf2278330)
sys/kern/subr_devmap.c