NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/46009: Use the correct path in dt_module.c



>Number:         46009
>Category:       lib
>Synopsis:       Use the correct path in dt_module.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 12 12:15:00 +0000 2012
>Originator:     Henning Petersen
>Release:        NetBSD-current
>Organization:
>Environment:
>Description:
Use the correct path in dt_module.c.
Founf by clang.
>How-To-Repeat:

>Fix:
diff -u -p -r1.6 dt_module.c
--- external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c   26 Jul 2011 
12:28:01 -0000      1.6
+++ external/cddl/osnet/dist/lib/libdtrace/common/dt_module.c   17 Dec 2011 
15:27:50 -0000
@@ -880,7 +880,8 @@ dt_module_update(dtrace_hdl_t *dtp, cons
                }
 
                (void) snprintf(fname, sizeof (fname),
-                   "/stand/%s/%s/%s.kmod", machine, osrel, name, name);
+                   "/stand/%s/%s/modules/%s/%s.kmod", machine, osrel, name, 
name);
+
        }
 #endif
 



Home | Main Index | Thread Index | Old Index