1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00
openmptcprouter-feeds/systemtap/patches/replace-open64.patch
Ycarus (Yannick Chabanois) d95a4f9ee0 Make stap available
2023-07-27 13:22:11 +02:00

11 lines
417 B
Diff

--- 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 "";