Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Revert the previous commit.



details:   https://anonhg.NetBSD.org/src/rev/8529cf671cdf
branches:  trunk
changeset: 788835:8529cf671cdf
user:      alnsn <alnsn%NetBSD.org@localhost>
date:      Mon Jul 22 19:43:54 2013 +0000

description:
Revert the previous commit.

diffstat:

 sys/kern/subr_vmem.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 2a5b18005157 -r 8529cf671cdf sys/kern/subr_vmem.c
--- a/sys/kern/subr_vmem.c      Mon Jul 22 17:52:21 2013 +0000
+++ b/sys/kern/subr_vmem.c      Mon Jul 22 19:43:54 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_vmem.c,v 1.84 2013/07/18 19:39:49 alnsn Exp $     */
+/*     $NetBSD: subr_vmem.c,v 1.85 2013/07/22 19:43:54 alnsn Exp $     */
 
 /*-
  * Copyright (c)2006,2007,2008,2009 YAMAMOTO Takashi,
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_vmem.c,v 1.84 2013/07/18 19:39:49 alnsn Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_vmem.c,v 1.85 2013/07/22 19:43:54 alnsn Exp $");
 
 #if defined(_KERNEL)
 #include "opt_ddb.h"
@@ -553,7 +553,6 @@
                qc->qc_vmem = vm;
                snprintf(qc->qc_name, sizeof(qc->qc_name), "%s-%zu",
                    vm->vm_name, size);
-               qc->qc_name[sizeof(qc->qc_name) - 1] = '\0';
 
                pc = pool_cache_init(size,
                    ORDER2SIZE(vm->vm_quantum_shift), 0,



Home | Main Index | Thread Index | Old Index