summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-09-29 18:52:47 +0000
committerbde <bde@FreeBSD.org>1995-09-29 18:52:47 +0000
commit44ef21c57307694df6471b22eec7026d523dcf3e (patch)
treec2777d2fd8fd9b36d6c6ad80c392b343316aeb76 /lib/libc/stdio
parent416532309a9e41611ce720ed3e292f6caa4bd445 (diff)
downloadFreeBSD-src-44ef21c57307694df6471b22eec7026d523dcf3e.zip
FreeBSD-src-44ef21c57307694df6471b22eec7026d523dcf3e.tar.gz
This gets() used \r\n, which is doggish.
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/gets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/gets.c b/lib/libc/stdio/gets.c
index 0517930..a22fd9d 100644
--- a/lib/libc/stdio/gets.c
+++ b/lib/libc/stdio/gets.c
@@ -49,7 +49,7 @@ gets(buf)
register char *s;
static int warned;
static char w[] =
- "warning: this program uses gets(), which is unsafe.\r\n";
+ "warning: this program uses gets(), which is unsafe.\n";
if (!warned) {
(void) write(STDERR_FILENO, w, sizeof(w) - 1);
OpenPOWER on IntegriCloud