summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/fgets.34
-rw-r--r--lib/libc/time/ctime.34
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3
index ef0dbfd5692..387f2ab2d1f 100644
--- a/lib/libc/stdio/fgets.3
+++ b/lib/libc/stdio/fgets.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fgets.3,v 1.7 1999/09/15 21:26:58 aaron Exp $
+.\" $OpenBSD: fgets.3,v 1.8 1999/11/15 07:45:57 deraadt Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -132,7 +132,7 @@ string is too long if it does not contain a newline:
while (fgets(buf, sizeof(buf), fp)) {
if (!(p = strchr(buf, '\en')) {
- fprintf(stderr, "input line too long.\n");
+ fprintf(stderr, "input line too long.\en");
exit(1);
}
*p = '\e0';
diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3
index ac2b075f285..a5060759717 100644
--- a/lib/libc/time/ctime.3
+++ b/lib/libc/time/ctime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ctime.3,v 1.15 1999/07/07 14:22:25 aaron Exp $
+.\" $OpenBSD: ctime.3,v 1.16 1999/11/15 07:45:57 deraadt Exp $
.\"
.\"
.Dd February 16, 1999
@@ -42,7 +42,7 @@ and returns a pointer to a
26-character string
of the form
.Bd -literal -offset indent
-Thu Nov 24 18:22:48 1986\n\0
+Thu Nov 24 18:22:48 1986\en\0
.Ed
.Pp
All the fields have constant width.