Only install the mbr code on i386.. not ia64. This changes it from

#ifndef __alpha__ to #ifdef __i386__
This commit is contained in:
Peter Wemm 2002-07-24 22:15:51 +00:00
parent 84176931be
commit 03d8025d59
2 changed files with 2 additions and 2 deletions

View File

@ -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];

View File

@ -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];