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 Kennaway 2001-03-05 02:54:13 +00:00
parent dd9cf0235c
commit 18690202e2
2 changed files with 2 additions and 2 deletions

View File

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

View File

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