summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-07-19 08:12:17 +1000
committerChris Johns <chrisj@rtems.org>2016-07-19 08:12:41 +1000
commit95100121dcc592cb8f9838324c33ce13cce4bbe6 (patch)
treef954c64e3acfd9f8af5b0bb814d29587e1a5d62a
parentUpdate to bring in the --show-commands fix. (diff)
downloadrtems-libbsd-95100121dcc592cb8f9838324c33ce13cce4bbe6.tar.bz2
config: Fix telnetd configuration warning.
-rw-r--r--rtemsbsd/include/machine/rtems-bsd-config.h7
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