From: Vadim Zeitlin Date: Fri, 4 Aug 2006 22:17:40 +0000 (+0000) Subject: device numbers in /proc/pid/maps are in hexadecimal, not decimal X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/53bd3a54cb090c29121cd28734cbec16c3b917f6?hp=49cb9181b79f6786b9ffa35c4792b1e2c400eabc 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 --- diff --git a/src/unix/dlunix.cpp b/src/unix/dlunix.cpp index 7e78ccb774..f019fed98d 100644 --- a/src/unix/dlunix.cpp +++ b/src/unix/dlunix.cpp @@ -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: