NetBSD Problem Report #46009
From www@NetBSD.org Sun Feb 12 12:10:23 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id D86A263E02D
for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Feb 2012 12:10:23 +0000 (UTC)
Message-Id: <20120212121023.4BBF563E028@www.NetBSD.org>
Date: Sun, 12 Feb 2012 12:10:23 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Use the correct path in dt_module.c
X-Send-Pr-Version: www-1.0
>Number: 46009
>Category: lib
>Synopsis: Use the correct path in dt_module.c
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 12 12:15:00 +0000 2012
>Closed-Date: Mon Feb 13 13:06:12 +0000 2012
>Last-Modified: Mon Feb 13 13:10:02 +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
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 13 Feb 2012 13:06:12 +0000
State-Changed-Why:
Committed, thanks!
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/46009 CVS commit: src/external/cddl/osnet/dist/lib/libdtrace/common
Date: Mon, 13 Feb 2012 13:05:36 +0000
Module Name: src
Committed By: wiz
Date: Mon Feb 13 13:05:36 UTC 2012
Modified Files:
src/external/cddl/osnet/dist/lib/libdtrace/common: dt_module.c
Log Message:
Use the correct path in dt_module.c.
From clang via Henning Petersen in PR 46009.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 \
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.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.