Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jul 2015 15:30:16 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285168 - head/sys/powerpc/powerpc
Message-ID:  <201507051530.t65FUGQn085794@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Sun Jul  5 15:30:16 2015
New Revision: 285168
URL: https://svnweb.freebsd.org/changeset/base/285168

Log:
  Fix GENERIC64 and LINT64 powerpc builds after r285144.

Modified:
  head/sys/powerpc/powerpc/trap.c

Modified: head/sys/powerpc/powerpc/trap.c
==============================================================================
--- head/sys/powerpc/powerpc/trap.c	Sun Jul  5 14:24:35 2015	(r285167)
+++ head/sys/powerpc/powerpc/trap.c	Sun Jul  5 15:30:16 2015	(r285168)
@@ -426,10 +426,10 @@ printtrap(u_int vector, struct trapframe
 		ver = mfpvr() >> 16;
 #if defined(AIM)
 		if (MPC745X_P(ver))
-			printf("    msssr0         = 0x%x\n",
+			printf("    msssr0         = 0x%" PRIxPTR "\n",
 			    mfspr(SPR_MSSSR0));
 #elif defined(BOOKE)
-		printf("    mcsr           = 0x%x\n",
+		printf("    mcsr           = 0x%" PRIxPTR "\n",
 		    mfspr(SPR_MCSR));
 #endif
 		break;



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