aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2014-01-21 07:19:10 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2014-01-21 07:19:10 -0800
commit7a9978f280e1d291f6fac419e7c2a0178e9e5d6b (patch)
tree7bdd2f9347b7fdee103dd27dedcd7bf11d069453
parentba3c1d66fc9f6638ea22949e71d10dc4f7e83796 (diff)
parentf775e740a3a817a4ff5ba26bea99dbfd735456b3 (diff)
downloadsyslinux-7a9978f280e1d291f6fac419e7c2a0178e9e5d6b.tar.gz
syslinux-7a9978f280e1d291f6fac419e7c2a0178e9e5d6b.tar.xz
syslinux-7a9978f280e1d291f6fac419e7c2a0178e9e5d6b.zip
Merge remote-tracking branch 'origin/syslinux-5.xx'
-rw-r--r--core/localboot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/localboot.c b/core/localboot.c
index a4df9171..39ffc8cb 100644
--- a/core/localboot.c
+++ b/core/localboot.c
@@ -57,6 +57,7 @@ __export void local_boot(int16_t ax)
* Load boot sector from the specified BIOS device and jump to
* it.
*/
+ memset(&ireg, 0, sizeof ireg);
ireg.edx.b[0] = ax & 0xff;
ireg.eax.w[0] = 0; /* Reset drive */
__intcall(0x13, &ireg, NULL);