diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2014-01-21 07:19:10 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2014-01-21 07:19:10 -0800 |
commit | 7a9978f280e1d291f6fac419e7c2a0178e9e5d6b (patch) | |
tree | 7bdd2f9347b7fdee103dd27dedcd7bf11d069453 | |
parent | ba3c1d66fc9f6638ea22949e71d10dc4f7e83796 (diff) | |
parent | f775e740a3a817a4ff5ba26bea99dbfd735456b3 (diff) | |
download | syslinux-7a9978f280e1d291f6fac419e7c2a0178e9e5d6b.tar.gz |
Merge remote-tracking branch 'origin/syslinux-5.xx'
-rw-r--r-- | core/localboot.c | 1 |
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); |