From 2e11c91a103c784e5e16d5e4295ac9fe7cedc7c3 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sun, 10 Sep 2023 03:00:42 -0700 Subject: [PATCH] format string didn't match my system; generalizing --- library/Process-linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Process-linux.cpp b/library/Process-linux.cpp index e50750015..0509f5710 100644 --- a/library/Process-linux.cpp +++ b/library/Process-linux.cpp @@ -138,7 +138,7 @@ void Process::getMemRanges( vector & ranges ) { t_memrange temp; temp.name[0] = 0; - sscanf(buffer, "%zx-%zx %s %zx %2zx:%2zx %zu %[^\n]", + sscanf(buffer, "%zx-%zx %s %zx %zx:%zx %zu %[^\n]", &start, &end, (char*)&permissions,