summaryrefslogtreecommitdiffstats
path: root/testsuite/ppp01/test_main.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-06 13:21:00 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-06 13:22:42 +0200
commitb1e67a2bdc575f7f6e0af4922d7adb91545827ca (patch)
tree2fb3ca1756610caaa09990eb797d193ab7367b3e /testsuite/ppp01/test_main.c
parentConditionally include <bsp/linker-symbols.h> (diff)
downloadrtems-libbsd-b1e67a2bdc575f7f6e0af4922d7adb91545827ca.tar.bz2
telnet: Use rtems_shell_dup_current_env()
Update #3859.
Diffstat (limited to 'testsuite/ppp01/test_main.c')
-rw-r--r--testsuite/ppp01/test_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/ppp01/test_main.c b/testsuite/ppp01/test_main.c
index 078e96e2..d4baf5db 100644
--- a/testsuite/ppp01/test_main.c
+++ b/testsuite/ppp01/test_main.c
@@ -211,7 +211,7 @@ telnet_shell(char *name, void *arg)
{
rtems_shell_env_t env;
- memset(&env, 0, sizeof(env));
+ rtems_shell_dup_current_env(&env);
env.devname = name;
env.taskname = "TLNT";