Fix module name of dtrace_profile.
This commit is contained in:
parent
8862602337
commit
0def3bc2ac
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: profile.c,v 1.4 2012/12/07 03:11:17 chs Exp $ */
|
||||
/* $NetBSD: profile.c,v 1.5 2016/04/04 05:15:07 riastradh Exp $ */
|
||||
|
||||
/*
|
||||
* CDDL HEADER START
|
||||
|
@ -565,7 +565,7 @@ MODULE_DEPEND(profile, opensolaris, 1, 1, 1);
|
|||
#ifdef __NetBSD__
|
||||
|
||||
static int
|
||||
profile_modcmd(modcmd_t cmd, void *data)
|
||||
dtrace_profile_modcmd(modcmd_t cmd, void *data)
|
||||
{
|
||||
switch (cmd) {
|
||||
case MODULE_CMD_INIT:
|
||||
|
@ -581,6 +581,6 @@ profile_modcmd(modcmd_t cmd, void *data)
|
|||
}
|
||||
}
|
||||
|
||||
MODULE(MODULE_CLASS_MISC, profile, "dtrace,cyclic");
|
||||
MODULE(MODULE_CLASS_MISC, dtrace_profile, "dtrace,cyclic");
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue