mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
This gets() used \r\n, which is doggish.
This commit is contained in:
parent
89e45c9b7f
commit
372e515faa
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue