diff options
author | Chris Johns <chrisj@rtems.org> | 2016-07-19 08:12:17 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-07-19 08:12:41 +1000 |
commit | 95100121dcc592cb8f9838324c33ce13cce4bbe6 (patch) | |
tree | f954c64e3acfd9f8af5b0bb814d29587e1a5d62a /rtemsbsd/include | |
parent | Update to bring in the --show-commands fix. (diff) | |
download | rtems-libbsd-95100121dcc592cb8f9838324c33ce13cce4bbe6.tar.bz2 |
config: Fix telnetd configuration warning.
Diffstat (limited to 'rtemsbsd/include')
-rw-r--r-- | rtemsbsd/include/machine/rtems-bsd-config.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-config.h b/rtemsbsd/include/machine/rtems-bsd-config.h index a8e96788..7a4750f0 100644 --- a/rtemsbsd/include/machine/rtems-bsd-config.h +++ b/rtemsbsd/include/machine/rtems-bsd-config.h @@ -131,10 +131,11 @@ extern "C" { * Telnetd */ #if defined(RTEMS_BSD_CONFIG_SERVICE_TELNETD) - #if defined(RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE) - #define RTEMS_BSD_CFGDECL_TELNETD_STACK_SIZE \ - int rtems_telnetd_stack_size = RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE + #if !defined(RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE) + #define RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE (8 * 1024) #endif /* RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE */ + #define RTEMS_BSD_CFGDECL_TELNETD_STACK_SIZE \ + int rtems_telnetd_stack_size = RTEMS_BSD_CONFIG_TELNETD_STACK_SIZE #define RTEMS_BSD_CFGDECL_TELNETD RTEMS_BSD_RC_CONF_SYSINT(rc_conf_telnetd) #else #define RTEMS_BSD_CFGDECL_TELNETD_STACK_SIZE |