PERFORCE change 188385 for review

Edward Tomasz Napierala trasz at FreeBSD.org
Mon Jan 31 17:44:57 UTC 2011


http://p4web.freebsd.org/@@188385?ac=10

Change 188385 by trasz at trasz_victim8 on 2011/01/31 17:44:18

	Fix build on i386 even more.

Affected files ...

.. //depot/projects/soc2009/trasz_limits/sys/i386/linux/imgact_linux.c#12 edit
.. //depot/projects/soc2009/trasz_limits/sys/vm/vm_pageout.c#25 edit

Differences ...

==== //depot/projects/soc2009/trasz_limits/sys/i386/linux/imgact_linux.c#12 (text+ko) ====

@@ -34,6 +34,7 @@
 
 #include <sys/param.h>
 #include <sys/systm.h>
+#include <sys/container.h>
 #include <sys/exec.h>
 #include <sys/imgact.h>
 #include <sys/imgact_aout.h>

==== //depot/projects/soc2009/trasz_limits/sys/vm/vm_pageout.c#25 (text+ko) ====

@@ -1738,7 +1738,8 @@
 				if (rsize > ravailable)
 					tryagain++;
 				if (tryagain > 20) {
-					printf("still too much: rsize = %ld, ravailable = %zd\n", rsize, ravailable);
+					printf("still too much: rsize = %ju, ravailable = %ju\n",
+					    (uintmax_t)rsize, (uintmax_t)ravailable);
 					tryagain = 0;
 				}
 			}


More information about the p4-projects mailing list