svn commit: r368196 - head/sys/dev/if_wg/include/sys
Matt Macy
mmacy at FreeBSD.org
Mon Nov 30 20:58:42 UTC 2020
Author: mmacy
Date: Mon Nov 30 20:58:42 2020
New Revision: 368196
URL: https://svnweb.freebsd.org/changeset/base/368196
Log:
wireguard: fix zfs_ copy pasta in module init macro
Reported by: Jessica Clarke
Modified:
head/sys/dev/if_wg/include/sys/support.h
Modified: head/sys/dev/if_wg/include/sys/support.h
==============================================================================
--- head/sys/dev/if_wg/include/sys/support.h Mon Nov 30 20:54:44 2020 (r368195)
+++ head/sys/dev/if_wg/include/sys/support.h Mon Nov 30 20:58:42 2020 (r368196)
@@ -296,7 +296,7 @@ wrap_ ## fn(void *dummy __unused) \
{ \
fn(); \
} \
-SYSINIT(zfs_ ## fn, SI_SUB_LAST, SI_ORDER_FIRST, wrap_ ## fn, NULL)
+SYSINIT(if_wg_ ## fn, SI_SUB_LAST, SI_ORDER_FIRST, wrap_ ## fn, NULL)
#define module_exit(fn) \
@@ -305,7 +305,7 @@ wrap_ ## fn(void *dummy __unused) \
{ \
fn(); \
} \
-SYSUNINIT(zfs_ ## fn, SI_SUB_LAST, SI_ORDER_FIRST, wrap_ ## fn, NULL)
+SYSUNINIT(if_wg_ ## fn, SI_SUB_LAST, SI_ORDER_FIRST, wrap_ ## fn, NULL)
#define module_param(a, b, c)
#define MODULE_LICENSE(x)
More information about the svn-src-all
mailing list