diff options
author | Renato Botelho <renato@netgate.com> | 2016-08-25 10:41:37 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-08-25 10:41:37 -0300 |
commit | 29ebd1247162a77db08e5e2e00d033220ec807fe (patch) | |
tree | d45bd4c2da327a132f18b6f39db36fe188c4e029 /lib/libc/stdio/fgetln.c | |
parent | 75cd8d40056c799f03b759475d9bfd10ba266a6c (diff) | |
parent | c29dc2b4296960868edafe94ebf975be284200bb (diff) | |
download | FreeBSD-src-29ebd1247162a77db08e5e2e00d033220ec807fe.zip FreeBSD-src-29ebd1247162a77db08e5e2e00d033220ec807fe.tar.gz |
Merge remote-tracking branch 'origin/stable/10' into devel
Diffstat (limited to 'lib/libc/stdio/fgetln.c')
-rw-r--r-- | lib/libc/stdio/fgetln.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/fgetln.c b/lib/libc/stdio/fgetln.c index 1779de2..6546768 100644 --- a/lib/libc/stdio/fgetln.c +++ b/lib/libc/stdio/fgetln.c @@ -159,6 +159,7 @@ fgetln(FILE *fp, size_t *lenp) error: *lenp = 0; /* ??? */ + fp->_flags |= __SERR; FUNLOCKFILE(fp); return (NULL); /* ??? */ } |