device numbers in /proc/pid/maps are in hexadecimal, not decimal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -348,7 +348,7 @@ wxDynamicLibraryDetailsArray wxDynamicLibrary::ListLoaded()
|
||||
{
|
||||
// format is: start-end perm something? maj:min inode path
|
||||
unsigned long start, end;
|
||||
switch ( sscanf(buf, "%08lx-%08lx %*4s %*08x %*02d:%*02d %*d %1024s\n",
|
||||
switch ( sscanf(buf, "%08lx-%08lx %*4s %*08x %*02x:%*02x %*d %1024s\n",
|
||||
&start, &end, path) )
|
||||
{
|
||||
case 2:
|
||||
|
Reference in New Issue
Block a user