diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-11-11 09:31:34 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-11-11 09:31:34 +0100 |
commit | a863f7488158ef7e46671663b307ca3b2e7ca0af (patch) | |
tree | 10c2ce67bb030c26c8b65577bc55c2eb8eb98a84 | |
parent | ad620f4fc965a205a5bfa94b6d083c47551491b3 (diff) | |
download | plan9front-a863f7488158ef7e46671663b307ca3b2e7ca0af.tar.xz |
pc kernel: make *nomp= work like *nomp=1
-rw-r--r-- | sys/src/9/pc/archmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/9/pc/archmp.c b/sys/src/9/pc/archmp.c index b94097cea..1df3c3fbc 100644 --- a/sys/src/9/pc/archmp.c +++ b/sys/src/9/pc/archmp.c @@ -76,7 +76,7 @@ identify(void) uchar *p, sum; ulong length; - if((cp = getconf("*nomp")) != nil && strtol(cp, 0, 0) != 0) + if((cp = getconf("*nomp")) != nil && strcmp(cp, "0") != 0) return 1; /* |