Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/evbarm/fdt port-evbarm/52388: Fix number of args to...



details:   https://anonhg.NetBSD.org/src/rev/f627faaf3a81
branches:  trunk
changeset: 825344:f627faaf3a81
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Jul 10 09:44:14 2017 +0000

description:
port-evbarm/52388: Fix number of args to a debug printf.

diffstat:

 sys/arch/evbarm/fdt/fdt_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5accc6a4b31f -r f627faaf3a81 sys/arch/evbarm/fdt/fdt_machdep.c
--- a/sys/arch/evbarm/fdt/fdt_machdep.c Mon Jul 10 09:30:58 2017 +0000
+++ b/sys/arch/evbarm/fdt/fdt_machdep.c Mon Jul 10 09:44:14 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdt_machdep.c,v 1.9 2017/07/05 19:30:51 chs Exp $ */
+/* $NetBSD: fdt_machdep.c,v 1.10 2017/07/10 09:44:14 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.9 2017/07/05 19:30:51 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdt_machdep.c,v 1.10 2017/07/10 09:44:14 jmcneill Exp $");
 
 #include "opt_machdep.h"
 #include "opt_ddb.h"
@@ -186,7 +186,7 @@
        if (error != 0)
                printf("MEM ERROR: add %llx-%llx failed: %d\n",
                    addr, size, error);
-       DPRINTF("MEM: res %llx-%llx: %d\n", addr, size);
+       DPRINTF("MEM: res %llx-%llx: %d\n", addr, size, error);
 }
 
 /*



Home | Main Index | Thread Index | Old Index