Module Name: src Committed By: maxv Date: Sun Feb 12 18:21:50 UTC 2017
Modified Files: src/sys/arch/amiga/stand/bootblock/installboot: installboot.c Log Message: Uninitialized var, found by Mootja; not tested, but obvious enough. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \ src/sys/arch/amiga/stand/bootblock/installboot/installboot.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/amiga/stand/bootblock/installboot/installboot.c diff -u src/sys/arch/amiga/stand/bootblock/installboot/installboot.c:1.5 src/sys/arch/amiga/stand/bootblock/installboot/installboot.c:1.6 --- src/sys/arch/amiga/stand/bootblock/installboot/installboot.c:1.5 Tue Jul 6 06:09:57 2010 +++ src/sys/arch/amiga/stand/bootblock/installboot/installboot.c Sun Feb 12 18:21:50 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: installboot.c,v 1.5 2010/07/06 06:09:57 mrg Exp $ */ +/* $NetBSD: installboot.c,v 1.6 2017/02/12 18:21:50 maxv Exp $ */ #include <err.h> #include <fcntl.h> @@ -17,7 +17,7 @@ int main(int argc, char *argv[]); int main(int argc, char *argv[]){ - char *line; + char *line = NULL; char *progname; char *bootnam, *devnam; char *dline;