[PATCH] dhcpcd: Pass config structure.

Christian Mauderer christian.mauderer at embedded-brains.de
Mon Feb 3 12:32:31 UTC 2020


---
 dhcpcd/dhcpcd.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dhcpcd/dhcpcd.c b/dhcpcd/dhcpcd.c
index fd6356de..b7839d49 100644
--- a/dhcpcd/dhcpcd.c
+++ b/dhcpcd/dhcpcd.c
@@ -1181,7 +1181,8 @@ rtems_dhcpcd_start(const rtems_dhcpcd_config *config)
 		if (sc == RTEMS_SUCCESSFUL) {
 			dhcpcd_initialized = true;
 
-			sc = rtems_task_start(id, dhcpcd_task, 0);
+			sc = rtems_task_start(id, dhcpcd_task,
+			    (rtems_task_argument) config);
 			assert(sc == RTEMS_SUCCESSFUL);
 		}
 	} else {
-- 
2.16.4



More information about the devel mailing list