format string didn't match my system; generalizing

develop
Myk Taylor 2023-09-10 03:00:42 -07:00
parent 211fa60d2a
commit 2e11c91a10
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -138,7 +138,7 @@ void Process::getMemRanges( vector<t_memrange> & ranges )
{
t_memrange temp;
temp.name[0] = 0;
sscanf(buffer, "%zx-%zx %s %zx %2zx:%2zx %zu %[^\n]",
sscanf(buffer, "%zx-%zx %s %zx %zx:%zx %zu %[^\n]",
&start,
&end,
(char*)&permissions,