Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/ccd.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/ccd.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.175.2.6 retrieving revision 1.175.2.7 diff -u -p -r1.175.2.6 -r1.175.2.7 --- src/sys/dev/ccd.c 2018/09/18 01:15:57 1.175.2.6 +++ src/sys/dev/ccd.c 2018/09/18 23:03:54 1.175.2.7 @@ -1,4 +1,4 @@ -/* $NetBSD: ccd.c,v 1.175.2.6 2018/09/18 01:15:57 pgoyette Exp $ */ +/* $NetBSD: ccd.c,v 1.175.2.7 2018/09/18 23:03:54 pgoyette Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 1999, 2007, 2009 The NetBSD Foundation, Inc. @@ -88,7 +88,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.175.2.6 2018/09/18 01:15:57 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ccd.c,v 1.175.2.7 2018/09/18 23:03:54 pgoyette Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -1061,11 +1061,11 @@ ccdread(dev_t dev, struct uio *uio, int * This looks ugly, since we pass the "real" ioctl function as an * argument to the compat_xxx function. */ -COMPAT_CALL_HOOK_DECL(ccd_ioctl_60_hook, f, (dev_t dev, u_long cmd, void *data, +MODULE_CALL_HOOK_DECL(ccd_ioctl_60_hook, f, (dev_t dev, u_long cmd, void *data, int flag, struct lwp *l, int (*ff)(dev_t, u_long, void *, int, struct lwp *)), (dev, cmd, data, flag, l, ccdioctl), enosys()); -COMPAT_CALL_HOOK(ccd_ioctl_60_hook, f, (dev_t dev, u_long cmd, void *data, +MODULE_CALL_HOOK(ccd_ioctl_60_hook, f, (dev_t dev, u_long cmd, void *data, int flag, struct lwp *l, int (*ff)(dev_t, u_long, void *, int, struct lwp *)), (dev, cmd, data, flag, l, ccdioctl), enosys());