summaryrefslogtreecommitdiffstats
path: root/testsuite/zerocopy01/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:21:56 +0200
commit13421d06177df03916665bb2f3a7fcadc51a951b (patch)
tree205473318dabc09f909163c5c5137641f171a501 /testsuite/zerocopy01/test_main.c
parentFix linker errors with minimal build set (diff)
downloadrtems-libbsd-13421d06177df03916665bb2f3a7fcadc51a951b.tar.bz2
telnet: Use rtems_shell_dup_current_env()
Update #3859.
Diffstat (limited to 'testsuite/zerocopy01/test_main.c')
-rw-r--r--testsuite/zerocopy01/test_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/zerocopy01/test_main.c b/testsuite/zerocopy01/test_main.c
index 3e7b7b7b..1be546e4 100644
--- a/testsuite/zerocopy01/test_main.c
+++ b/testsuite/zerocopy01/test_main.c
@@ -190,7 +190,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";