summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbwrapper/smbsh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbwrapper/smbsh.c b/source3/smbwrapper/smbsh.c
index 7a2b8e09d7..8c9d971bbe 100644
--- a/source3/smbwrapper/smbsh.c
+++ b/source3/smbwrapper/smbsh.c
@@ -83,6 +83,7 @@ int main(int argc, char *argv[])
if (!smbw_getshared("USER")) {
printf("Username: ");
+ fflush(stdout);
u = fgets_slash(line, sizeof(line)-1, x_stdin);
smbw_setshared("USER", u);
}