libauthsrv: recognize amd64 $cputype in readnvram() to look for default locations

front
cinap_lenrek 2014-03-26 23:47:19 +01:00
parent d4abe404b4
commit b964e60a49
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ findnvram(Nvrwhere *locp)
cputype = getenv("cputype");
if(cputype == nil)
cputype = strdup("mips");
if(strcmp(cputype, "386")==0 || strcmp(cputype, "alpha")==0) {
if(strcmp(cputype, "386")==0 || strcmp(cputype, "amd64")==0 || strcmp(cputype, "alpha")==0) {
free(cputype);
cputype = strdup("pc");
}