Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Shut up gcc printf warning.
details: https://anonhg.NetBSD.org/src/rev/d0c2ee14d7ae
branches: trunk
changeset: 781392:d0c2ee14d7ae
user: matt <matt%NetBSD.org@localhost>
date: Mon Sep 03 16:07:17 2012 +0000
description:
Shut up gcc printf warning.
diffstat:
sys/uvm/uvm_km.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r be6cdcd0bc0c -r d0c2ee14d7ae sys/uvm/uvm_km.c
--- a/sys/uvm/uvm_km.c Mon Sep 03 15:55:42 2012 +0000
+++ b/sys/uvm/uvm_km.c Mon Sep 03 16:07:17 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_km.c,v 1.130 2012/09/03 15:55:42 matt Exp $ */
+/* $NetBSD: uvm_km.c,v 1.131 2012/09/03 16:07:17 matt Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -152,7 +152,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.130 2012/09/03 15:55:42 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.131 2012/09/03 16:07:17 matt Exp $");
#include "opt_uvmhist.h"
@@ -790,7 +790,7 @@
uvm_maxkaddr = pmap_growkernel(va + size);
if (uvm_maxkaddr < va + size)
panic("%s: pmap_growkernel(%#"PRIxVADDR") failed",
- __func__, va + size);
+ __func__, (vaddr_t) (va + size));
}
#endif
Home |
Main Index |
Thread Index |
Old Index