mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 05:13:40 +00:00
Import patch to fix non-constant format string abuses. This patch was
approved by the vendor and will be present in future releases.
This commit is contained in:
parent
aee7d5e2d9
commit
e1012a939e
|
@ -291,7 +291,7 @@ static VOIDRET getloginname FUNCTION_NOARGS
|
|||
flags = 4;
|
||||
first--;
|
||||
} else
|
||||
printf(ttyprompt);
|
||||
printf("%s", ttyprompt);
|
||||
} else
|
||||
printf("login: ");
|
||||
fflush(stdout);
|
||||
|
|
|
@ -48,7 +48,7 @@ char **ftpglob __P((char *));
|
|||
|
||||
VOIDRET opiefatal FUNCTION((x), char *x)
|
||||
{
|
||||
fprintf(stderr, x);
|
||||
fprintf(stderr, "%s", x);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue