[rtems-libbsd commit] pfctl: Update due to linker set API changes

Sebastian Huber sebh at rtems.org
Wed Dec 7 06:15:42 UTC 2016


Module:    rtems-libbsd
Branch:    master
Commit:    e3dac667dd0fbc36a42abc5f7b2892861c72dbe8
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=e3dac667dd0fbc36a42abc5f7b2892861c72dbe8

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Dec  7 07:15:02 2016 +0100

pfctl: Update due to linker set API changes

---

 freebsd/contrib/pf/pfctl/pfctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/freebsd/contrib/pf/pfctl/pfctl.c b/freebsd/contrib/pf/pfctl/pfctl.c
index 26b455c..19bd6c2 100644
--- a/freebsd/contrib/pf/pfctl/pfctl.c
+++ b/freebsd/contrib/pf/pfctl/pfctl.c
@@ -2100,7 +2100,7 @@ rtems_bsd_command_pfctl(int argc, char *argv[])
 	const void *data_begin;
 	size_t data_size;
 
-	RTEMS_LINKER_SET_ASSIGN_BEGIN(bsd_prog_pfctl, data_begin);
+	data_begin = RTEMS_LINKER_SET_BEGIN(bsd_prog_pfctl);
 	data_size = RTEMS_LINKER_SET_SIZE(bsd_prog_pfctl);
 
 	rtems_bsd_program_lock();



More information about the vc mailing list