From a863f7488158ef7e46671663b307ca3b2e7ca0af Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Fri, 11 Nov 2011 09:31:34 +0100 Subject: [PATCH] pc kernel: make *nomp= work like *nomp=1 --- sys/src/9/pc/archmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; /*