Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/usr.sbin/installboot/arch Pull up revision 1.4 (requested...
details: https://anonhg.NetBSD.org/src/rev/e80dad6df8f9
branches: netbsd-3
changeset: 576231:e80dad6df8f9
user: snj <snj%NetBSD.org@localhost>
date: Wed Jun 15 05:34:16 2005 +0000
description:
Pull up revision 1.4 (requested by lukem in ticket #411):
Don't try to use an uninitialized variable.
Detected with gcc -Wuninitialized.
diffstat:
usr.sbin/installboot/arch/amiga.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r b97ca2de4b9c -r e80dad6df8f9 usr.sbin/installboot/arch/amiga.c
--- a/usr.sbin/installboot/arch/amiga.c Wed Jun 15 05:30:51 2005 +0000
+++ b/usr.sbin/installboot/arch/amiga.c Wed Jun 15 05:34:16 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amiga.c,v 1.3 2004/06/20 22:20:17 jmc Exp $ */
+/* $NetBSD: amiga.c,v 1.3.2.1 2005/06/15 05:34:16 snj Exp $ */
/*-
* Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
@@ -45,7 +45,7 @@
#include <sys/cdefs.h>
#if defined(__RCSID) && !defined(__lint)
-__RCSID("$NetBSD: amiga.c,v 1.3 2004/06/20 22:20:17 jmc Exp $");
+__RCSID("$NetBSD: amiga.c,v 1.3.2.1 2005/06/15 05:34:16 snj Exp $");
#endif /* !__lint */
#include <sys/param.h>
@@ -91,6 +91,7 @@
u_int32_t block[128*16];
+ retval = 0;
if (fstat(params->s1fd, &bootstrapsb) == -1) {
warn("Examining `%s'", params->stage1);
goto done;
Home |
Main Index |
Thread Index |
Old Index