diff options
author | Philip Paeps <philip@FreeBSD.org> | 2019-12-20 03:40:53 +0000 |
---|---|---|
committer | Philip Paeps <philip@FreeBSD.org> | 2019-12-20 03:40:53 +0000 |
commit | 1b6dd6d772cac39d314665609e54329c08da4e77 (patch) | |
tree | 2eabcf096da989b640b1ce50c01bdb8cf688c883 /sys/kern/subr_devmap.c | |
parent | 6386edbb5a927cd0d89420cc3ee77040b7c8e519 (diff) | |
download | src-1b6dd6d772cac39d314665609e54329c08da4e77.tar.gz src-1b6dd6d772cac39d314665609e54329c08da4e77.zip |
Print upper 32 bits in devmap table entries
If the devmap entry uses the upper 32 bits they wouldn't be printed in
devmap_dump_table(). This fixes that.
Submitted by: Nicholas O'Brien <nickisobrien_gmail.com>
Sponsored by: Axiado
Notes
Notes:
svn path=/head/; revision=355925
Diffstat (limited to 'sys/kern/subr_devmap.c')
-rw-r--r-- | sys/kern/subr_devmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_devmap.c b/sys/kern/subr_devmap.c index 5eb3bb777fd8..5ed996b9c7c0 100644 --- a/sys/kern/subr_devmap.c +++ b/sys/kern/subr_devmap.c @@ -73,7 +73,7 @@ devmap_dump_table(int (*prfunc)(const char *, ...)) prfunc("Static device mappings:\n"); for (pd = devmap_table; pd->pd_size != 0; ++pd) { - prfunc(" 0x%08x - 0x%08x mapped at VA 0x%08x\n", + prfunc(" 0x%08jx - 0x%08jx mapped at VA 0x%08jx\n", pd->pd_pa, pd->pd_pa + pd->pd_size - 1, pd->pd_va); } } |