Fix NULL change lossage.

This commit is contained in:
cl 2003-10-23 18:56:49 +00:00
parent b9d0173421
commit 89ca05e5e9
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: boot.c,v 1.7 2002/09/11 02:17:14 mycroft Exp $ */
/* $NetBSD: boot.c,v 1.8 2003/10/23 18:56:49 cl Exp $ */
/*
* Copyright (c) 1994 Rolf Grossmann
* All rights reserved.
@ -112,7 +112,7 @@ main(char *boot_arg)
#endif
strcpy(kernel, boot_arg);
entry_point = NULL;
entry_point = 0;
for (;;) {
marks[MARK_START] = (u_long)KERN_LOADADDR;
@ -125,7 +125,7 @@ main(char *boot_arg)
printf("boot: ");
gets(kernel);
if (kernel[0] == '\0')
return NULL;
return 0;
#ifdef PROCESS_ARGS
kernel_args = strchr(kernel, ')');