Date: Fri, 16 Aug 2002 14:43:18 -0700 (PDT) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 16131 for review Message-ID: <200208162143.g7GLhIWY076200@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16131 Change 16131 by rwatson@rwatson_tislabs on 2002/08/16 14:42:22 When printing the result of pointer arithmetic, use %#lx rather than %d. For some reason this didn't break axp build, but did break sparc64. Affected files ... .. //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#247 edit Differences ... ==== //depot/projects/trustedbsd/mac/sys/kern/kern_mac.c#247 (text+ko) ==== @@ -2201,7 +2201,7 @@ revokeperms = vme->max_protection & ~result; if (!revokeperms) continue; - printf("pid %d: revoking %s perms from %#lx:%d " + printf("pid %d: revoking %s perms from %#lx:%#lx " "(max %s/cur %s)\n", td->td_proc->p_pid, prot2str(revokeperms), vme->start, vme->end - vme->start, prot2str(vme->max_protection), prot2str(vme->protection)); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208162143.g7GLhIWY076200>