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 dynamical...



details:   https://anonhg.NetBSD.org/src/rev/bcab66c7eba4
branches:  pgoyette-compat
changeset: 321143:bcab66c7eba4
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Apr 01 23:06:51 2018 +0000

description:
Adapt to new dynamically-allocate required-module array

diffstat:

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

diffs (18 lines):

diff -r 975995d90952 -r bcab66c7eba4 external/cddl/osnet/dev/fbt/fbt.c
--- a/external/cddl/osnet/dev/fbt/fbt.c Sun Apr 01 23:06:11 2018 +0000
+++ b/external/cddl/osnet/dev/fbt/fbt.c Sun Apr 01 23:06:51 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fbt.c,v 1.23 2017/11/06 04:43:50 christos Exp $        */
+/*     $NetBSD: fbt.c,v 1.23.2.1 2018/04/01 23:06:51 pgoyette Exp $    */
 
 /*
  * CDDL HEADER START
@@ -957,7 +957,7 @@
         * dependency are ineligible for FBT tracing.
         */
        for (i = 0; i < mod->mod_nrequired; i++) {
-               if (strncmp(mod->mod_required[i]->mod_info->mi_name,
+               if (strncmp((*mod->mod_required)[i]->mod_info->mi_name,
                            "dtrace", 6) == 0)
                        return;
        }



Home | Main Index | Thread Index | Old Index