Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp700/stand Fix various DEBUG option builds
details: https://anonhg.NetBSD.org/src/rev/9ed218afce2e
branches: trunk
changeset: 326013:9ed218afce2e
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Jan 15 21:52:13 2014 +0000
description:
Fix various DEBUG option builds
diffstat:
sys/arch/hp700/stand/boot/boot.c | 6 +++---
sys/arch/hp700/stand/common/itecons.c | 4 ++--
sys/arch/hp700/stand/common/lif.c | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r debcac20762a -r 9ed218afce2e sys/arch/hp700/stand/boot/boot.c
--- a/sys/arch/hp700/stand/boot/boot.c Wed Jan 15 21:25:28 2014 +0000
+++ b/sys/arch/hp700/stand/boot/boot.c Wed Jan 15 21:52:13 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boot.c,v 1.12 2011/01/22 19:19:17 joerg Exp $ */
+/* $NetBSD: boot.c,v 1.13 2014/01/15 21:52:13 skrll Exp $ */
/*-
* Copyright (c) 1982, 1986, 1990, 1993
@@ -231,7 +231,7 @@
marks[MARK_START] = loadaddr;
#ifdef EXEC_DEBUG
- printf("file=%s loadaddr=%x howto=%x\n",
+ printf("file=%s loadaddr=%lx howto=%x\n",
file, loadaddr, boot_howto);
#endif
if ((fd = loadfile(file, marks, LOAD_KERNEL)) == -1)
@@ -244,7 +244,7 @@
#ifdef EXEC_DEBUG
if (debug) {
- printf("ep=0x%x [", marks[MARK_ENTRY]);
+ printf("ep=0x%lx [", marks[MARK_ENTRY]);
for (i = 0; i < 10240; i++) {
if (!(i % 8)) {
printf("\b\n%p:", &((u_int *)marks[MARK_ENTRY])[i]);
diff -r debcac20762a -r 9ed218afce2e sys/arch/hp700/stand/common/itecons.c
--- a/sys/arch/hp700/stand/common/itecons.c Wed Jan 15 21:25:28 2014 +0000
+++ b/sys/arch/hp700/stand/common/itecons.c Wed Jan 15 21:52:13 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: itecons.c,v 1.10 2013/11/14 13:01:26 skrll Exp $ */
+/* $NetBSD: itecons.c,v 1.11 2014/01/15 21:52:13 skrll Exp $ */
/* $OpenBSD: itecons.c,v 1.6 1999/04/20 20:01:02 mickey Exp $ */
@@ -189,7 +189,7 @@
if (!i-- && (dev & 0x80) && l == 0) {
#ifdef DEBUG
if (debug > 2)
- printf("ite_getc(0x%x): no char %d(%x)\n",
+ printf("ite_getc(%llx): no char %d(%x)\n",
dev, l, c);
#endif
return (0);
diff -r debcac20762a -r 9ed218afce2e sys/arch/hp700/stand/common/lif.c
--- a/sys/arch/hp700/stand/common/lif.c Wed Jan 15 21:25:28 2014 +0000
+++ b/sys/arch/hp700/stand/common/lif.c Wed Jan 15 21:52:13 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lif.c,v 1.10 2009/11/03 05:07:26 snj Exp $ */
+/* $NetBSD: lif.c,v 1.11 2014/01/15 21:52:13 skrll Exp $ */
/* $OpenBSD: lif.c,v 1.7 2001/06/09 03:54:41 mickey Exp $ */
@@ -167,7 +167,7 @@
#ifdef LIFDEBUG
if (debug)
- printf("lif_read(%p, %p, %u, %p)\n", f, buf, size, resid);
+ printf("lif_read(%p, %p, %zu, %p)\n", f, buf, size, resid);
#endif
for (p = bbuf; size; fp->f_seek += bsize, p += bsize) {
Home |
Main Index |
Thread Index |
Old Index