Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 2009 07:50:28 +0000 (UTC)
From:      Robert Noland <rnoland@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189562 - head/sys/dev/drm
Message-ID:  <200903090750.n297oSBf013647@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rnoland
Date: Mon Mar  9 07:50:27 2009
New Revision: 189562
URL: http://svn.freebsd.org/changeset/base/189562

Log:
  Clean up the printing on amd64.  Should also be consistent on i386.
  
  MFC after:	3 days

Modified:
  head/sys/dev/drm/drm_sysctl.c

Modified: head/sys/dev/drm/drm_sysctl.c
==============================================================================
--- head/sys/dev/drm/drm_sysctl.c	Mon Mar  9 07:49:13 2009	(r189561)
+++ head/sys/dev/drm/drm_sysctl.c	Mon Mar  9 07:50:27 2009	(r189562)
@@ -185,8 +185,8 @@ static int drm_vm_info DRM_SYSCTL_HANDLE
 
 	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];
@@ -202,7 +202,7 @@ static int drm_vm_info DRM_SYSCTL_HANDLE
 			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);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903090750.n297oSBf013647>