rh analysis #2: pmap

http://www.freelists.org/post/procps/Scan-results,5
This commit is contained in:
Jim Warner 2011-10-18 02:36:22 -05:00 committed by Sami Kerola
parent 9408b9721b
commit d3786c5321

2
pmap.c
View File

@ -311,7 +311,7 @@ int main(int argc, char *argv[]){
char *arg2 = strchr(arg1,','); char *arg2 = strchr(arg1,',');
if(arg2) if(arg2)
*arg2 = '\0'; *arg2 = '\0';
arg2 = arg2 ? arg2++ : arg1; arg2 = *arg2 ? arg2++ : arg1;
if(*arg1) if(*arg1)
range_low = STRTOUKL(arg1,&arg1,16); range_low = STRTOUKL(arg1,&arg1,16);