using printf to avoid \n for pwd input message

This commit is contained in:
anthraxx 2014-06-10 15:36:45 +02:00
parent 0e62272c44
commit 586fa66c35

View file

@ -8,7 +8,7 @@ int main() {
char *input_str = NULL;
char *password = "23door42\n";
puts("Please enter Password: ");
printf("Please enter Password: ");
ret = getline(&input_str, &nbytes, stdin);
if (ret == -1) {