Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2020 20:58:42 +0000 (UTC)
From:      Matt Macy <mmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r368196 - head/sys/dev/if_wg/include/sys
Message-ID:  <202011302058.0AUKwgK5029302@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011302058.0AUKwgK5029302>