diff options
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r-- | lib/libc/stdio/gets.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/stdio/gets.c b/lib/libc/stdio/gets.c index 1eba8600ac0..1cc13d4d8f4 100644 --- a/lib/libc/stdio/gets.c +++ b/lib/libc/stdio/gets.c @@ -35,12 +35,13 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: gets.c,v 1.2 1996/08/19 08:32:52 tholo Exp $"; +static char rcsid[] = "$OpenBSD: gets.c,v 1.3 1996/12/28 02:30:58 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <stdio.h> -__warn_references(gets, "warning: this program uses gets(), which is unsafe."); +__warn_references(gets, + "warning: gets() is very unsafe; consider using fgets()"); char * gets(buf) |