diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/landisk/stand/xxboot/boot1.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |