Fix ersatz_getpass() to use its parameter

It used its only actual argument instead.
This commit is contained in:
Markus Armbruster 2009-04-25 08:30:10 +02:00
parent eb1041f130
commit ad0f967fd6

View file

@ -61,7 +61,7 @@ ersatz_getpass(char *prompt)
else else
#endif #endif
printf("Note: your input is echoed to the screen\n"); printf("Note: your input is echoed to the screen\n");
printf("Your name? "); printf("%s", prompt);
fflush(stdout); fflush(stdout);
p = fgets(buf, sizeof(buf), stdin); p = fgets(buf, sizeof(buf), stdin);
#ifdef _WIN32 #ifdef _WIN32