summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/stdio/fgets.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3
index 387f2ab2d1f..f27c4f09c3a 100644
--- a/lib/libc/stdio/fgets.3
+++ b/lib/libc/stdio/fgets.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fgets.3,v 1.8 1999/11/15 07:45:57 deraadt Exp $
+.\" $OpenBSD: fgets.3,v 1.9 2000/02/19 22:23:48 ericj Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -131,7 +131,7 @@ string is too long if it does not contain a newline:
char buf[1024], *p;
while (fgets(buf, sizeof(buf), fp)) {
- if (!(p = strchr(buf, '\en')) {
+ if (!(p = strchr(buf, '\en'))) {
fprintf(stderr, "input line too long.\en");
exit(1);
}