ref: b964e60a49ef7037b9360785de6e7d91c5f918c3
parent: d4abe404b4ad9a7c913bde37d211be614f27c965
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Mar 26 19:47:19 EDT 2014
libauthsrv: recognize amd64 $cputype in readnvram() to look for default locations
--- a/sys/src/libauthsrv/readnvram.c
+++ b/sys/src/libauthsrv/readnvram.c
@@ -146,7 +146,7 @@
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");
}