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/compat/common/tty_43.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/compat/common/tty_43.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.33 retrieving revision 1.34 diff -u -p -r1.33 -r1.34 --- src/sys/compat/common/tty_43.c 2019/01/29 09:28:50 1.33 +++ src/sys/compat/common/tty_43.c 2019/03/01 11:06:56 1.34 @@ -1,4 +1,4 @@ -/* $NetBSD: tty_43.c,v 1.33 2019/01/29 09:28:50 pgoyette Exp $ */ +/* $NetBSD: tty_43.c,v 1.34 2019/03/01 11:06:56 pgoyette Exp $ */ /*- * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -62,7 +62,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: tty_43.c,v 1.33 2019/01/29 09:28:50 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tty_43.c,v 1.34 2019/03/01 11:06:56 pgoyette Exp $"); #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" @@ -518,13 +518,13 @@ ttcompatsetlflags(struct tty *tp, struct int kern_tty_43_init(void) { - MODULE_SET_HOOK(tty_ttioctl_43_hook, "tty_43", compat_43_ttioctl); + MODULE_HOOK_SET(tty_ttioctl_43_hook, "tty_43", compat_43_ttioctl); return 0; } int kern_tty_43_fini(void) { - MODULE_UNSET_HOOK(tty_ttioctl_43_hook); + MODULE_HOOK_UNSET(tty_ttioctl_43_hook); return 0; }