summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Noland <rnoland@2hip.net>2009-03-09 13:37:57 -0500
committerRobert Noland <rnoland@2hip.net>2009-03-09 13:37:57 -0500
commit82eac8060b98b425f29051bfd7830ba3622be7d8 (patch)
tree422a0b6242118b1e94fab1992c618b28b1e2129b
parenta3ba51bd041a448f3bb14678cebb0976e0fda47a (diff)
FreeBSD: Fix the printing of maps on amd64/i386 to be consistentxgi-0-0-2
-rw-r--r--bsd-core/drm_sysctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bsd-core/drm_sysctl.c b/bsd-core/drm_sysctl.c
index f0227aa7..608169de 100644
--- a/bsd-core/drm_sysctl.c
+++ b/bsd-core/drm_sysctl.c
@@ -182,8 +182,8 @@ static int drm_vm_info DRM_SYSCTL_HANDLER_ARGS
DRM_UNLOCK();
- DRM_SYSCTL_PRINT("\nslot offset size type flags "
- "address mtrr\n");
+ DRM_SYSCTL_PRINT("\nslot offset size "
+ "type flags address mtrr\n");
for (i = 0; i < mapcount; i++) {
map = &tempmaps[i];
@@ -199,7 +199,7 @@ static int drm_vm_info DRM_SYSCTL_HANDLER_ARGS
yesno = "yes";
DRM_SYSCTL_PRINT(
- "%4d 0x%08lx 0x%08lx %4.4s 0x%02x 0x%08lx %s\n", i,
+ "%4d 0x%016lx 0x%08lx %4.4s 0x%02x 0x%016lx %s\n", i,
map->offset, map->size, type, map->flags,
(unsigned long)map->handle, yesno);
}