Module Name:src
Committed By: maxv
Date: Mon Aug 15 08:32:46 UTC 2016
Modified Files:
src/sys/arch/evbsh3/stand/mesboot/src: mesboot.c
Log Message:
Uninitialized var, found by brainy; not tested, but obvious enough
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbsh3/stand/mesboot/src/mesboot.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/arch/evbsh3/stand/mesboot/src/mesboot.c
diff -u src/sys/arch/evbsh3/stand/mesboot/src/mesboot.c:1.1 src/sys/arch/evbsh3/stand/mesboot/src/mesboot.c:1.2
--- src/sys/arch/evbsh3/stand/mesboot/src/mesboot.c:1.1 Tue Apr 6 15:54:30 2010
+++ src/sys/arch/evbsh3/stand/mesboot/src/mesboot.c Mon Aug 15 08:32:46 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: mesboot.c,v 1.1 2010/04/06 15:54:30 nonaka Exp $ */
+/* $NetBSD: mesboot.c,v 1.2 2016/08/15 08:32:46 maxv Exp $ */
#include
#include
@@ -25,7 +25,7 @@ usage(void)
int
main(int argc, char **argv)
{
- char *kernel;
+ char *kernel = NULL;
char *ptr, *mem, *rdptr;
void (*func)();
int fd, size, c;