summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/union
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-11-15 15:33:52 +0000
committerbde <bde@FreeBSD.org>1998-11-15 15:33:52 +0000
commit51ad68ca2dc312183239c0c5b885cbd8b08ca376 (patch)
treeb628fb0bc9eaf5469ac1ddf218f5e0f6debcab31 /sys/miscfs/union
parent1ffd64f1345cc5467a666cb99769107c028c1983 (diff)
downloadFreeBSD-src-51ad68ca2dc312183239c0c5b885cbd8b08ca376.zip
FreeBSD-src-51ad68ca2dc312183239c0c5b885cbd8b08ca376.tar.gz
Finished updating module event handlers to be compatible with
modeventhand_t.
Diffstat (limited to 'sys/miscfs/union')
-rw-r--r--sys/miscfs/union/union_subr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/miscfs/union/union_subr.c b/sys/miscfs/union/union_subr.c
index 96df62d..18d79b5 100644
--- a/sys/miscfs/union/union_subr.c
+++ b/sys/miscfs/union/union_subr.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_subr.c 8.20 (Berkeley) 5/20/95
- * $Id: union_subr.c,v 1.31 1998/07/15 04:17:44 bde Exp $
+ * $Id: union_subr.c,v 1.32 1998/11/03 08:01:48 peter Exp $
*/
#include <sys/param.h>
@@ -1196,7 +1196,8 @@ union_dircheck(struct proc *p, struct vnode **vp, struct file *fp)
return error;
}
-static int union_modevent(module_t mod, modeventtype_t type, void *data)
+static int
+union_modevent(module_t mod, int type, void *data)
{
switch (type) {
case MOD_LOAD:
OpenPOWER on IntegriCloud