pmap: correct 'rh analysis #2' patch and contrib document

This commit is contained in:
Jim Warner 2011-10-24 17:16:26 -05:00 committed by Sami Kerola
parent 565e4c61a8
commit 86e938a333

3
pmap.c
View File

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