1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Make stap available

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-07-27 13:22:11 +02:00
parent d31ae36737
commit d95a4f9ee0
2 changed files with 13 additions and 2 deletions

View file

@ -0,0 +1,11 @@
--- a/setupdwfl.cxx 2023-07-26 20:22:35.427807372 +0200
+++ b/setupdwfl.cxx 2023-07-26 20:22:43.855666830 +0200
@@ -762,7 +762,7 @@
clog << _("Attempting to extract kernel debuginfo build ID from /sys/kernel/notes") << endl;
const char *notesfile = "/sys/kernel/notes";
- int fd = open64 (notesfile, O_RDONLY);
+ int fd = open (notesfile, O_RDONLY);
if (fd < 0)
return "";