Module Name: src Committed By: ad Date: Sun Mar 29 15:23:54 UTC 2009
Modified Files: src/sys/kern: init_main.c Log Message: Remove debug code from previous. To generate a diff of this commit: cvs rdiff -u -r1.385 -r1.386 src/sys/kern/init_main.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/init_main.c diff -u src/sys/kern/init_main.c:1.385 src/sys/kern/init_main.c:1.386 --- src/sys/kern/init_main.c:1.385 Sun Mar 29 10:58:28 2009 +++ src/sys/kern/init_main.c Sun Mar 29 15:23:54 2009 @@ -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 @@ { 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 @@ } 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);