diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-03-26 23:47:19 +0100 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-03-26 23:47:19 +0100 |
| commit | b964e60a49ef7037b9360785de6e7d91c5f918c3 (patch) | |
| tree | c17633982349c907b173d1b4f4393b24bb37b927 | |
| parent | d4abe404b4ad9a7c913bde37d211be614f27c965 (diff) | |
| download | plan9front-b964e60a49ef7037b9360785de6e7d91c5f918c3.tar.xz | |
libauthsrv: recognize amd64 $cputype in readnvram() to look for default locations
| -rw-r--r-- | sys/src/libauthsrv/readnvram.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |
