From b964e60a49ef7037b9360785de6e7d91c5f918c3 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 26 Mar 2014 23:47:19 +0100 Subject: [PATCH] libauthsrv: recognize amd64 $cputype in readnvram() to look for default locations --- sys/src/libauthsrv/readnvram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/libauthsrv/readnvram.c b/sys/src/libauthsrv/readnvram.c index 3303ed613..ae6045b18 100644 --- a/sys/src/libauthsrv/readnvram.c +++ b/sys/src/libauthsrv/readnvram.c @@ -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"); }