diff options
author | bde <bde@FreeBSD.org> | 1995-09-29 18:52:47 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-09-29 18:52:47 +0000 |
commit | 44ef21c57307694df6471b22eec7026d523dcf3e (patch) | |
tree | c2777d2fd8fd9b36d6c6ad80c392b343316aeb76 /lib/libc/stdio | |
parent | 416532309a9e41611ce720ed3e292f6caa4bd445 (diff) | |
download | FreeBSD-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.c | 2 |
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); |