From 4689bf624b269e80f05fb425b7614cc05851eaa7 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sun, 10 Apr 2011 12:21:08 +0000 Subject: Uninitialized local variable. --- sys/arch/landisk/stand/xxboot/boot1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/arch/landisk/stand/xxboot/boot1.c b/sys/arch/landisk/stand/xxboot/boot1.c index 12391b04d2e..0042680f2f0 100644 --- a/sys/arch/landisk/stand/xxboot/boot1.c +++ b/sys/arch/landisk/stand/xxboot/boot1.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot1.c,v 1.6 2011/03/13 00:13:53 deraadt Exp $ */ +/* $OpenBSD: boot1.c,v 1.7 2011/04/10 12:21:07 miod Exp $ */ /* $NetBSD: boot1.c,v 1.1 2006/09/01 21:26:19 uwe Exp $ */ /*- @@ -66,7 +66,7 @@ const char * boot1(uint32_t *sector) { struct stat sb; - int fd; + int fd = -1; bios_sector = *sector; -- cgit v1.2.3