PERFORCE change 16131 for review

Robert Watson rwatson at freebsd.org
Fri Aug 16 21:43:18 GMT 2002


http://people.freebsd.org/~peter/p4db/chv.cgi?CH=16131

Change 16131 by rwatson at 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 at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message



More information about the trustedbsd-cvs mailing list