summaryrefslogtreecommitdiff
path: root/sys/arch/landisk
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-04-10 12:21:08 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-04-10 12:21:08 +0000
commit4689bf624b269e80f05fb425b7614cc05851eaa7 (patch)
tree50a5ae7d1a163b3f280059dabc72e6d6164e46df /sys/arch/landisk
parent7a447899beef00a942b7d2ce71ab52e1f04f7ea2 (diff)
Uninitialized local variable.
Diffstat (limited to 'sys/arch/landisk')
-rw-r--r--sys/arch/landisk/stand/xxboot/boot1.c4
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;