Fix ersatz_getpass() to use its parameter
It used its only actual argument instead.
This commit is contained in:
parent
eb1041f130
commit
ad0f967fd6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue