pc kernel: make *nomp= work like *nomp=1

This commit is contained in:
cinap_lenrek 2011-11-11 09:31:34 +01:00
parent ad620f4fc9
commit a863f74881

View file

@ -76,7 +76,7 @@ identify(void)
uchar *p, sum; uchar *p, sum;
ulong length; ulong length;
if((cp = getconf("*nomp")) != nil && strtol(cp, 0, 0) != 0) if((cp = getconf("*nomp")) != nil && strcmp(cp, "0") != 0)
return 1; return 1;
/* /*