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:
Vadim Zeitlin
2006-08-04 22:17:40 +00:00
parent 49cb9181b7
commit 53bd3a54cb

View File

@@ -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: