summaryrefslogtreecommitdiffstats
path: root/freebsd/lib/libc/stdio/fgetln.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/lib/libc/stdio/fgetln.c')
-rw-r--r--freebsd/lib/libc/stdio/fgetln.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/freebsd/lib/libc/stdio/fgetln.c b/freebsd/lib/libc/stdio/fgetln.c
index d27a7c4e..1a7b0514 100644
--- a/freebsd/lib/libc/stdio/fgetln.c
+++ b/freebsd/lib/libc/stdio/fgetln.c
@@ -106,9 +106,8 @@ fgetln(FILE *fp, size_t *lenp)
ret = (char *)fp->_p;
*lenp = len = p - fp->_p;
#ifndef __rtems__
-
fp->_flags |= __SMOD;
-#endif
+#endif /* __rtems__ */
fp->_r -= len;
fp->_p = p;
FUNLOCKFILE(fp);