]> git.saurik.com Git - wxWidgets.git/commitdiff
device numbers in /proc/pid/maps are in hexadecimal, not decimal
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 Aug 2006 22:17:40 +0000 (22:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 Aug 2006 22:17:40 +0000 (22:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/dlunix.cpp

index 7e78ccb774d2e93ce224f6efa49900e79a0ee074..f019fed98d9e6d1cb1f4cbb3eda1d69fae76bbe7 100644 (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: