Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/pgoyette-compat]: src/sys/compat/netbsd32 I wrote this stuff, when will ...



details:   https://anonhg.NetBSD.org/src/rev/582a510165df
branches:  pgoyette-compat
changeset: 447792:582a510165df
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Jan 24 04:31:19 2019 +0000

description:
I wrote this stuff, when will I ever learn to use MODULE_CALL_HOOK
instead of MODULE_HOOK_CALL ?  :)

diffstat:

 sys/compat/netbsd32/netbsd32_sysctl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c1c73b159210 -r 582a510165df sys/compat/netbsd32/netbsd32_sysctl.c
--- a/sys/compat/netbsd32/netbsd32_sysctl.c     Thu Jan 24 04:24:52 2019 +0000
+++ b/sys/compat/netbsd32/netbsd32_sysctl.c     Thu Jan 24 04:31:19 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_sysctl.c,v 1.38.2.3 2019/01/24 04:24:52 pgoyette Exp $        */
+/*     $NetBSD: netbsd32_sysctl.c,v 1.38.2.4 2019/01/24 04:31:19 pgoyette Exp $        */
 
 /*
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysctl.c,v 1.38.2.3 2019/01/24 04:24:52 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysctl.c,v 1.38.2.4 2019/01/24 04:31:19 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ddb.h"
@@ -171,7 +171,7 @@
                       CTLTYPE_INT, "alignbytes", NULL,
                       NULL, ALIGNBYTES32, NULL, 0,
                       CTL_HW, HW_ALIGNBYTES, CTL_EOL);
-       MODULE_HOOK_CALL(netbsd32_machine_32_hook, (), machine, m);
+       MODULE_CALL_HOOK(netbsd32_machine_32_hook, (), machine, m);
        sysctl_createv(&netbsd32_clog, 0, &_root, NULL,
                       CTLFLAG_PERMANENT,
                       CTLTYPE_STRING, "machine", NULL,



Home | Main Index | Thread Index | Old Index