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:
kris 2001-03-05 02:54:13 +00:00
parent aee7d5e2d9
commit e1012a939e
2 changed files with 2 additions and 2 deletions

View file

@ -291,7 +291,7 @@ static VOIDRET getloginname FUNCTION_NOARGS
flags = 4;
first--;
} else
printf(ttyprompt);
printf("%s", ttyprompt);
} else
printf("login: ");
fflush(stdout);

View file

@ -48,7 +48,7 @@ char **ftpglob __P((char *));
VOIDRET opiefatal FUNCTION((x), char *x)
{
fprintf(stderr, x);
fprintf(stderr, "%s", x);
exit(1);
}