Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Fix typo in VPRINTF



details:   https://anonhg.NetBSD.org/src/rev/093d8fc7d97d
branches:  trunk
changeset: 996562:093d8fc7d97d
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Feb 04 13:08:43 2019 +0000

description:
Fix typo in VPRINTF

diffstat:

 sys/arch/arm/arm32/arm32_kvminit.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 540056db72e0 -r 093d8fc7d97d sys/arch/arm/arm32/arm32_kvminit.c
--- a/sys/arch/arm/arm32/arm32_kvminit.c        Mon Feb 04 13:06:39 2019 +0000
+++ b/sys/arch/arm/arm32/arm32_kvminit.c        Mon Feb 04 13:08:43 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm32_kvminit.c,v 1.48 2018/11/13 20:48:14 skrll Exp $ */
+/*     $NetBSD: arm32_kvminit.c,v 1.49 2019/02/04 13:08:43 skrll Exp $ */
 
 /*
  * Copyright (c) 2002, 2003, 2005  Genetec Corporation.  All rights reserved.
@@ -127,7 +127,7 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.48 2018/11/13 20:48:14 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm32_kvminit.c,v 1.49 2019/02/04 13:08:43 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -672,8 +672,8 @@
                    kernel_l2pt[idx].pv_pa, kernel_base + idx * L2_S_SEGSIZE);
        }
 
-       VPRINTF("%s: kernel_vm_base %lx KERNEL_L2PT_KERNEL_NUM %zu\n", __func__,
-           kernel_vm_base, KERNEL_L2PT_KERNEL_NUM);
+       VPRINTF("%s: kernel_vm_base %lx KERNEL_L2PT_VMDATA_NUM %d\n", __func__,
+           kernel_vm_base, KERNEL_L2PT_VMDATA_NUM);
 
        for (size_t idx = 0; idx < KERNEL_L2PT_VMDATA_NUM; idx++) {
                pmap_link_l2pt(l1pt_va, kernel_vm_base + idx * L2_S_SEGSIZE,



Home | Main Index | Thread Index | Old Index