libauthsrv: recognize amd64 $cputype in readnvram() to look for default locations
This commit is contained in:
parent
d4abe404b4
commit
b964e60a49
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue