Initialise boot_args and boot_file, for get_bootconf_option().

This commit is contained in:
bjh21 2001-05-13 13:48:11 +00:00
parent 73bc600e40
commit 1d9afb6c6d
1 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: start.c,v 1.9 2001/03/13 20:20:43 bjh21 Exp $ */
/* $NetBSD: start.c,v 1.10 2001/05/13 13:48:11 bjh21 Exp $ */
/*-
* Copyright (c) 1998, 2000 Ben Harris
* All rights reserved.
@ -32,7 +32,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: start.c,v 1.9 2001/03/13 20:20:43 bjh21 Exp $");
__KERNEL_RCSID(0, "$NetBSD: start.c,v 1.10 2001/05/13 13:48:11 bjh21 Exp $");
#include <sys/msgbuf.h>
#include <sys/user.h>
@ -62,6 +62,10 @@ struct bootconfig bootconfig;
struct user *proc0paddr;
/* We don't pass a command line yet. */
char *boot_args = "";
char *boot_file = "";
#ifdef DIAGNOSTIC
#define BOOT_SANITY 0x89345846
static int boot_sanity = BOOT_SANITY;