Fix a typo to make this compile with MEMSIZE is defined.
This commit is contained in:
parent
aee43321d1
commit
61724834f9
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: machdep.c,v 1.3 2002/08/25 20:21:36 thorpej Exp $ */
|
||||
/* $NetBSD: machdep.c,v 1.4 2002/11/25 11:26:22 scw Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988 University of Utah.
|
||||
|
@ -43,7 +43,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.3 2002/08/25 20:21:36 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.4 2002/11/25 11:26:22 scw Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_kgdb.h"
|
||||
|
@ -220,7 +220,7 @@ mach_init(int argc, char **argv, yamon_env_var *envp, u_long memsize)
|
|||
*/
|
||||
|
||||
#if defined(MEMSIZE)
|
||||
size = MEMSIZE;
|
||||
memsize = MEMSIZE;
|
||||
#else
|
||||
if (memsize == 0) {
|
||||
if ((cp = yamon_getenv("memsize")) != NULL)
|
||||
|
|
Loading…
Reference in New Issue