Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Revert thinko in previous.



details:   https://anonhg.NetBSD.org/src/rev/bef3d9277de0
branches:  trunk
changeset: 972957:bef3d9277de0
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Jun 14 14:45:12 2020 +0000

description:
Revert thinko in previous.

diffstat:

 sys/arch/mips/mips/mips_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a22624de7268 -r bef3d9277de0 sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Sun Jun 14 14:40:24 2020 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Sun Jun 14 14:45:12 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mips_machdep.c,v 1.289 2020/06/14 14:40:24 simonb Exp $        */
+/*     $NetBSD: mips_machdep.c,v 1.290 2020/06/14 14:45:12 simonb Exp $        */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -111,7 +111,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.289 2020/06/14 14:40:24 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.290 2020/06/14 14:45:12 simonb Exp $");
 
 #define __INTR_PRIVATE
 #include "opt_cputype.h"
@@ -1444,7 +1444,7 @@
 static const char *
 wayname(int ways)
 {
-       static char buf[sizeof("xxx-way set-associative") + 1];
+       static char buf[sizeof("xxx-way set-associative")];
 
 #ifdef DIAGNOSTIC
        if (ways > 999)



Home | Main Index | Thread Index | Old Index