Only install the mbr code on i386.. not ia64. This changes it from
#ifndef __alpha__ to #ifdef __i386__
This commit is contained in:
parent
84176931be
commit
03d8025d59
@ -214,7 +214,7 @@ getBootMgr(char *dname, u_char **bootipl, size_t *bootipl_size,
|
||||
static void
|
||||
getBootMgr(char *dname, u_char **bootCode, size_t *bootCodeSize)
|
||||
{
|
||||
#ifndef __alpha__ /* only meaningful on x86 */
|
||||
#ifdef __i386__ /* only meaningful on x86 */
|
||||
static u_char *mbr, *boot0;
|
||||
static size_t mbr_size, boot0_size;
|
||||
char str[80];
|
||||
|
@ -214,7 +214,7 @@ getBootMgr(char *dname, u_char **bootipl, size_t *bootipl_size,
|
||||
static void
|
||||
getBootMgr(char *dname, u_char **bootCode, size_t *bootCodeSize)
|
||||
{
|
||||
#ifndef __alpha__ /* only meaningful on x86 */
|
||||
#ifdef __i386__ /* only meaningful on x86 */
|
||||
static u_char *mbr, *boot0;
|
||||
static size_t mbr_size, boot0_size;
|
||||
char str[80];
|
||||
|
Loading…
Reference in New Issue
Block a user