Fix build on Alpha

This commit is contained in:
Matt Turner 2009-08-12 14:45:13 -04:00 committed by Adam Jackson
parent a400dbb38f
commit 8ce4fde76f
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ static _AXP axpList[] = {
{"lca",LCA},
{"t2",T2},
{"tsunami",TSUNAMI},
{NULL,NONE}
{NULL,SYS_NONE}
};
axpDevice
@ -65,7 +65,7 @@ bsdGetAXP(void)
#endif
for (i=0;;i++) {
if (axpList[i].name == NULL)
return NONE;
return SYS_NONE;
if (!strcmp(sysname, axpList[i].name))
return axpList[i].type;
}

View File

@ -49,7 +49,7 @@ static AXP axpList[] = {
{"Miata",NULL,NULL,PYXIS_CIA},
{"Ruffian",NULL,NULL,PYXIS_CIA},
{"Nautilus",NULL,NULL,IRONGATE},
{NULL,NULL,NULL,NONE}
{NULL,NULL,NULL,SYS_NONE}
};