Module Name: src
Committed By: maya
Date: Fri Dec 23 09:24:57 UTC 2016
Modified Files:
src/sys/arch/i386/i386: machdep.c
Log Message:
Use PRIxPSIZE when printing psize_t.
Fixes i386 kernels build.
To generate a diff of this commit:
cvs rdiff -u -r1.773 -r1.774 src/sys/arch/i386/i386/machdep.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/arch/i386/i386/machdep.c
diff -u src/sys/arch/i386/i386/machdep.c:1.773 src/sys/arch/i386/i386/machdep.c:1.774
--- src/sys/arch/i386/i386/machdep.c:1.773 Fri Dec 23 07:15:27 2016
+++ src/sys/arch/i386/i386/machdep.c Fri Dec 23 09:24:57 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.773 2016/12/23 07:15:27 cherry Exp $ */
+/* $NetBSD: machdep.c,v 1.774 2016/12/23 09:24:57 maya Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000, 2004, 2006, 2008, 2009
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.773 2016/12/23 07:15:27 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.774 2016/12/23 09:24:57 maya Exp $");
#include "opt_beep.h"
#include "opt_compat_ibcs2.h"
@@ -1059,8 +1059,8 @@ init386_msgbuf(void)
}
if (sz != reqsz)
- printf("%s: could only allocate %ld bytes of requested %ld bytes\n",
- __func__, sz, reqsz);
+ printf("%s: could only allocate %"PRIxPSIZE" bytes of requested"
+ " %"PRIxPSIZE" bytes\n", __func__, sz, reqsz);
}
#ifndef XEN