Module Name: src Committed By: christos Date: Wed Aug 3 16:37:02 UTC 2016
Modified Files: src/external/cddl/osnet/dist/lib/libdtrace/common: dt_module.c Log Message: machdep.booted_kernel is not an absolute path, make it so. Now u_int is found but its parent is not :-) To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 \ src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c diff -u src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c:1.14 src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c:1.15 --- src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c:1.14 Wed Jun 29 20:23:36 2016 +++ src/external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c Wed Aug 3 12:37:02 2016 @@ -1180,8 +1180,9 @@ dt_module_update(dtrace_hdl_t *dtp, stru size_t len; if (strcmp("netbsd", name) == 0) { - /* want the kernel */ - dt_bootfile(fname, sizeof(fname)); + /* want the kernel, but it is not absolute */ + dt_bootfile(machine, sizeof(machine)); + snprintf(fname, sizeof(fname), "/%s", machine); } else { /* build stand module path from system */