Source-Changes-HG archive

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

[src/trunk]: src/lib/libexecinfo args are flipped.



details:   https://anonhg.NetBSD.org/src/rev/3a0a3748d033
branches:  trunk
changeset: 340717:3a0a3748d033
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Sep 25 19:27:31 2015 +0000

description:
args are flipped.

diffstat:

 lib/libexecinfo/backtrace.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r db12497f2c8c -r 3a0a3748d033 lib/libexecinfo/backtrace.c
--- a/lib/libexecinfo/backtrace.c       Fri Sep 25 19:18:28 2015 +0000
+++ b/lib/libexecinfo/backtrace.c       Fri Sep 25 19:27:31 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: backtrace.c,v 1.5 2015/09/25 19:18:28 christos Exp $   */
+/*     $NetBSD: backtrace.c,v 1.6 2015/09/25 19:27:31 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.5 2015/09/25 19:18:28 christos Exp $");
+__RCSID("$NetBSD: backtrace.c,v 1.6 2015/09/25 19:27:31 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_ARGS, KERN_PROC_PATHNAME, -1,
+               CTL_KERN, KERN_PROC_ARGS, -1, KERN_PROC_PATHNAME,
        };
        char path[MAXPATHLEN];
        size_t len;



Home | Main Index | Thread Index | Old Index