Source-Changes-HG archive

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

[src/pgoyette-compat]: src/external/cddl/osnet/dev/fbt Adapt to new world ord...



details:   https://anonhg.NetBSD.org/src/rev/3608be2cc441
branches:  pgoyette-compat
changeset: 830595:3608be2cc441
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Jun 25 11:22:57 2018 +0000

description:
Adapt to new world order - mod_required is no a pointer to an array.

diffstat:

 external/cddl/osnet/dev/fbt/fbt.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r dc00fe1b719e -r 3608be2cc441 external/cddl/osnet/dev/fbt/fbt.c
--- a/external/cddl/osnet/dev/fbt/fbt.c Mon Jun 25 10:11:21 2018 +0000
+++ b/external/cddl/osnet/dev/fbt/fbt.c Mon Jun 25 11:22:57 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fbt.c,v 1.23.2.2 2018/06/25 07:25:14 pgoyette Exp $    */
+/*     $NetBSD: fbt.c,v 1.23.2.3 2018/06/25 11:22:57 pgoyette Exp $    */
 
 /*
  * CDDL HEADER START
@@ -284,7 +284,7 @@
         * dependency are ineligible for FBT tracing.
         */
        for (i = 0; i < mod->mod_nrequired; i++) {
-               if (strncmp(module_name(mod->mod_required[i]),
+               if (strncmp(module_name((*mod->mod_required)[i]),
                            "dtrace", 6) == 0)
                        return;
        }



Home | Main Index | Thread Index | Old Index