CVS commit: [pgoyette-compat] src/external/cddl/osnet/dev/fbt

2018-06-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jun 25 11:22:57 UTC 2018

Modified Files:
src/external/cddl/osnet/dev/fbt [pgoyette-compat]: fbt.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.23.2.2 -r1.23.2.3 src/external/cddl/osnet/dev/fbt/fbt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/cddl/osnet/dev/fbt/fbt.c
diff -u src/external/cddl/osnet/dev/fbt/fbt.c:1.23.2.2 src/external/cddl/osnet/dev/fbt/fbt.c:1.23.2.3
--- src/external/cddl/osnet/dev/fbt/fbt.c:1.23.2.2	Mon Jun 25 07:25:14 2018
+++ src/external/cddl/osnet/dev/fbt/fbt.c	Mon Jun 25 11:22:57 2018
@@ -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 @@ fbt_provide_module(void *arg, modctl_t *
 	 * 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;
 	}



CVS commit: [pgoyette-compat] src/external/cddl/osnet/dev/fbt

2018-06-25 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Mon Jun 25 11:22:57 UTC 2018

Modified Files:
src/external/cddl/osnet/dev/fbt [pgoyette-compat]: fbt.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.23.2.2 -r1.23.2.3 src/external/cddl/osnet/dev/fbt/fbt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [pgoyette-compat] src/external/cddl/osnet/dev/fbt

2018-04-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Apr  1 23:06:51 UTC 2018

Modified Files:
src/external/cddl/osnet/dev/fbt [pgoyette-compat]: fbt.c

Log Message:
Adapt to new dynamically-allocate required-module array


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.23.2.1 src/external/cddl/osnet/dev/fbt/fbt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/cddl/osnet/dev/fbt/fbt.c
diff -u src/external/cddl/osnet/dev/fbt/fbt.c:1.23 src/external/cddl/osnet/dev/fbt/fbt.c:1.23.2.1
--- src/external/cddl/osnet/dev/fbt/fbt.c:1.23	Mon Nov  6 04:43:50 2017
+++ src/external/cddl/osnet/dev/fbt/fbt.c	Sun Apr  1 23:06:51 2018
@@ -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 @@ fbt_provide_module(void *arg, dtrace_mod
 	 * 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;
 	}



CVS commit: [pgoyette-compat] src/external/cddl/osnet/dev/fbt

2018-04-01 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sun Apr  1 23:06:51 UTC 2018

Modified Files:
src/external/cddl/osnet/dev/fbt [pgoyette-compat]: fbt.c

Log Message:
Adapt to new dynamically-allocate required-module array


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.23.2.1 src/external/cddl/osnet/dev/fbt/fbt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.