summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/rget.c
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2005-06-17 20:40:30 +0000
committerespie <espie@openbsd.org>2005-06-17 20:40:30 +0000
commitc2fb321235c8dbfba0909bc43913400e90646ae7 (patch)
tree101c9655c9c5856e7de799c241b4fad9067a89db /lib/libc/stdio/rget.c
parentbye bye whiteouts (diff)
downloadwireguard-openbsd-c2fb321235c8dbfba0909bc43913400e90646ae7.tar.xz
wireguard-openbsd-c2fb321235c8dbfba0909bc43913400e90646ae7.zip
next citrus step.
reviewed by millert, otto, kevlo, naddy, kettenis... libc+libstdc++ bump
Diffstat (limited to 'lib/libc/stdio/rget.c')
-rw-r--r--lib/libc/stdio/rget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/rget.c b/lib/libc/stdio/rget.c
index cc258ba6ca0..ecbb8b80c0b 100644
--- a/lib/libc/stdio/rget.c
+++ b/lib/libc/stdio/rget.c
@@ -31,7 +31,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: rget.c,v 1.5 2004/09/28 18:12:44 otto Exp $";
+static char rcsid[] = "$OpenBSD: rget.c,v 1.6 2005/06/17 20:40:32 espie Exp $";
#endif /* LIBC_SCCS and not lint */
#include <stdio.h>
@@ -45,6 +45,7 @@ static char rcsid[] = "$OpenBSD: rget.c,v 1.5 2004/09/28 18:12:44 otto Exp $";
int
__srget(FILE *fp)
{
+ _SET_ORIENTATION(fp, -1);
if (__srefill(fp) == 0) {
fp->_r--;
return (*fp->_p++);