pc kernel: make *nomp= work like *nomp=1
This commit is contained in:
parent
ad620f4fc9
commit
a863f74881
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue