diff options
Diffstat (limited to 'runtime/stpd/librelay.c')
-rw-r--r-- | runtime/stpd/librelay.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/stpd/librelay.c b/runtime/stpd/librelay.c index 04ea7285..6acbe7f8 100644 --- a/runtime/stpd/librelay.c +++ b/runtime/stpd/librelay.c @@ -516,8 +516,9 @@ int init_stp(int print_summary) fprintf(stderr, "ERROR, couldn't insmod probe module %s\n", modpath); return -1; } - - sprintf (proc_filebase, "/proc/systemtap/%s", modname); + + /* We no longer use /proc/systemtap/, just /proc. */ + sprintf (proc_filebase, "/proc/%s", modname); char *ptr = index(proc_filebase,'.'); if (ptr) *ptr = 0; |