summaryrefslogtreecommitdiff
path: root/lib/libc/gen/getttyent.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/getttyent.c')
-rw-r--r--lib/libc/gen/getttyent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getttyent.c b/lib/libc/gen/getttyent.c
index f9b1e0d85477..83f97e8b96e5 100644
--- a/lib/libc/gen/getttyent.c
+++ b/lib/libc/gen/getttyent.c
@@ -178,7 +178,7 @@ setttyent()
{
if (tf) {
- (void)rewind(tf);
+ rewind(tf);
return (1);
} else if (tf = fopen(_PATH_TTYS, "r"))
return (1);