diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-08-06 13:21:00 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-08-06 13:21:00 +0200 |
commit | d964a6703c705cc92fd053bcefc08bb3b6baa0e2 (patch) | |
tree | 49839d0d994c8b4bdbf70601bd3373262309fa3d /testsuite/pf02 | |
parent | Conditionally include <bsp/linker-symbols.h> (diff) | |
download | rtems-libbsd-d964a6703c705cc92fd053bcefc08bb3b6baa0e2.tar.bz2 |
telnet: Use rtems_shell_dup_current_env()
Update #3859.
Diffstat (limited to 'testsuite/pf02')
-rw-r--r-- | testsuite/pf02/test_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/pf02/test_main.c b/testsuite/pf02/test_main.c index 92073165..5941ea5a 100644 --- a/testsuite/pf02/test_main.c +++ b/testsuite/pf02/test_main.c @@ -132,7 +132,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"; |