Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libexecinfo use provide KERN_PROC_PATHNAME in PROC_ARGS.
details: https://anonhg.NetBSD.org/src/rev/db12497f2c8c
branches: trunk
changeset: 340716:db12497f2c8c
user: christos <christos%NetBSD.org@localhost>
date: Fri Sep 25 19:18:28 2015 +0000
description:
use provide KERN_PROC_PATHNAME in PROC_ARGS.
diffstat:
lib/libexecinfo/backtrace.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r be800421f064 -r db12497f2c8c lib/libexecinfo/backtrace.c
--- a/lib/libexecinfo/backtrace.c Fri Sep 25 19:09:38 2015 +0000
+++ b/lib/libexecinfo/backtrace.c Fri Sep 25 19:18:28 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: backtrace.c,v 1.4 2013/11/21 16:02:21 christos Exp $ */
+/* $NetBSD: backtrace.c,v 1.5 2015/09/25 19:18:28 christos Exp $ */
/*-
* Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: backtrace.c,v 1.4 2013/11/21 16:02:21 christos Exp $");
+__RCSID("$NetBSD: backtrace.c,v 1.5 2015/09/25 19:18:28 christos Exp $");
#include <sys/param.h>
#include <assert.h>
@@ -60,7 +60,7 @@
const char *pathname = SELF;
#ifdef KERN_PROC_PATHNAME
static const int name[] = {
- CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1,
+ CTL_KERN, KERN_PROC_ARGS, KERN_PROC_PATHNAME, -1,
};
char path[MAXPATHLEN];
size_t len;
Home |
Main Index |
Thread Index |
Old Index