summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-05-08 08:05:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-05-08 08:05:48 +0200
commiteaa1709894668db739d09a6cea57f98ed4cee38b (patch)
tree28a1df83dd619a3944d4e8363df5e86116329489
parent8d52a0e246951e96d27de25b03c056caa65d1a3c (diff)
downloadrtems-eaa1709894668db739d09a6cea57f98ed4cee38b.tar.bz2
ftpd: Fix infinite recursion in yield()
Update #3419.
-rw-r--r--cpukit/ftpd/ftpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/ftpd/ftpd.c b/cpukit/ftpd/ftpd.c
index 2747268329..3526024063 100644
--- a/cpukit/ftpd/ftpd.c
+++ b/cpukit/ftpd/ftpd.c
@@ -314,7 +314,7 @@ yield(void)
* robin fairness for threads of equal priority.
*/
#ifndef RTEMS_NETWORKING
- yield();
+ sched_yield();
#endif
}