summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-24 12:01:28 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-11-24 12:38:35 +0100
commit269b5591288e45675d539ffd4a8f6d4ac3e54831 (patch)
treef5152e8f795e8650d4705b184b7efd6aa7db5ce1
parentSLEEPQUEUE(9): Properly remove timeout timer (diff)
downloadrtems-libbsd-269b5591288e45675d539ffd4a8f6d4ac3e54831.tar.bz2
ftpd: Use floating-point tasks due to syslog()
-rw-r--r--rtemsbsd/ftpd/ftpd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/rtemsbsd/ftpd/ftpd.c b/rtemsbsd/ftpd/ftpd.c
index 0f1577e1..77e9d535 100644
--- a/rtemsbsd/ftpd/ftpd.c
+++ b/rtemsbsd/ftpd/ftpd.c
@@ -215,8 +215,6 @@
#include <rtems/ftpd.h>
-#include <machine/rtems-bsd-printf-to-iprintf.h>
-
#ifdef __GNUC__
/* change to #if 1 to disable syslog entirely */
#if 0
@@ -446,7 +444,7 @@ task_pool_init(int count, rtems_task_priority priority)
priority, FTPD_STACKSIZE,
RTEMS_PREEMPT | RTEMS_NO_TIMESLICE |
RTEMS_NO_ASR | RTEMS_INTERRUPT_LEVEL(0),
- RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,
+ RTEMS_FLOATING_POINT | RTEMS_LOCAL,
&info->tid);
if (sc == RTEMS_SUCCESSFUL)
{
@@ -2147,7 +2145,7 @@ rtems_ftpd_start(const struct rtems_ftpd_configuration* config)
priority, RTEMS_MINIMUM_STACK_SIZE,
RTEMS_PREEMPT | RTEMS_NO_TIMESLICE | RTEMS_NO_ASR |
RTEMS_INTERRUPT_LEVEL(0),
- RTEMS_NO_FLOATING_POINT | RTEMS_LOCAL,
+ RTEMS_FLOATING_POINT | RTEMS_LOCAL,
&tid);
if (sc == RTEMS_SUCCESSFUL)