summaryrefslogtreecommitdiff
path: root/user/oprofile/posixise.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/oprofile/posixise.patch')
-rw-r--r--user/oprofile/posixise.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/user/oprofile/posixise.patch b/user/oprofile/posixise.patch
index dd2ead122..85e064b8c 100644
--- a/user/oprofile/posixise.patch
+++ b/user/oprofile/posixise.patch
@@ -41,3 +41,14 @@
errno = 0;
if (nftw(previous_sampledir.c_str(), __delete_old_previous_sample_data, 32, flags) !=0 &&
errno != ENOENT) {
+--- oprofile-1.3.0/libop/op_events.c.old 2018-01-18 16:46:48.000000000 +0000
++++ oprofile-1.3.0/libop/op_events.c 2018-10-11 00:34:04.362677027 +0000
+@@ -83,7 +83,7 @@
+ static u64 parse_long_hex(char const * str)
+ {
+ u64 value;
+- if (sscanf(str, "%Lx", &value) != 1)
++ if (sscanf(str, "%llx", &value) != 1)
+ parse_error("expected long hexadecimal value");
+
+ fflush(stderr);