Module Name:    src
Committed By:   matt
Date:           Fri Apr 29 08:15:10 UTC 2011

Modified Files:
        src/sys/uvm [matt-nb5-mips64]: uvm_unix.c

Log Message:
Fix PRIdVSIZE macro


To generate a diff of this commit:
cvs rdiff -u -r1.40.28.1 -r1.40.28.2 src/sys/uvm/uvm_unix.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/uvm/uvm_unix.c
diff -u src/sys/uvm/uvm_unix.c:1.40.28.1 src/sys/uvm/uvm_unix.c:1.40.28.2
--- src/sys/uvm/uvm_unix.c:1.40.28.1	Sun Aug 23 06:38:07 2009
+++ src/sys/uvm/uvm_unix.c	Fri Apr 29 08:15:09 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_unix.c,v 1.40.28.1 2009/08/23 06:38:07 matt Exp $	*/
+/*	$NetBSD: uvm_unix.c,v 1.40.28.2 2011/04/29 08:15:09 matt Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_unix.c,v 1.40.28.1 2009/08/23 06:38:07 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_unix.c,v 1.40.28.2 2011/04/29 08:15:09 matt Exp $");
 
 #include "opt_pax.h"
 
@@ -118,7 +118,7 @@
 				UVM_FLAG_OVERLAY|UVM_FLAG_COPYONW));
 		if (error) {
 #ifndef PRIdVSIZE
-#define	PRIdVSIZE	"%ld"
+#define	PRIdVSIZE	"ld"
 #endif
 			uprintf("sbrk: grow %"PRIdVSIZE" failed, error = %d\n",
 				new - old, error);

Reply via email to