From 53bd3a54cb090c29121cd28734cbec16c3b917f6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 4 Aug 2006 22:17:40 +0000 Subject: [PATCH] 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 --- src/unix/dlunix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.50.0