Remove debug code from previous.
This commit is contained in:
parent
c56f6fd76f
commit
5d4e966fd0
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: init_main.c,v 1.385 2009/03/29 10:58:28 ad Exp $ */
|
||||
/* $NetBSD: init_main.c,v 1.386 2009/03/29 15:23:54 ad Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
|
||||
|
@ -97,7 +97,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.385 2009/03/29 10:58:28 ad Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: init_main.c,v 1.386 2009/03/29 15:23:54 ad Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_ipsec.h"
|
||||
|
@ -924,7 +924,7 @@ banner(void)
|
|||
{
|
||||
static char notice[] = " Notice: this software is "
|
||||
"protected by copyright";
|
||||
char pbuf[80];
|
||||
char pbuf[81];
|
||||
void (*pr)(const char *, ...);
|
||||
int i;
|
||||
|
||||
|
@ -941,8 +941,6 @@ banner(void)
|
|||
}
|
||||
|
||||
memset(pbuf, 0, sizeof(pbuf));
|
||||
(*pr)("%lld physmem\n", (long long)ptoa(physmem));
|
||||
(*pr)("%lld free\n", (long long)ptoa(uvmexp.free));
|
||||
(*pr)("%s%s", copyright, version);
|
||||
format_bytes(pbuf, sizeof(pbuf), ctob((uint64_t)physmem));
|
||||
(*pr)("total memory = %s\n", pbuf);
|
||||
|
|
Loading…
Reference in New Issue