summaryrefslogtreecommitdiffstats
path: root/source3/smbwrapper/smbsh.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbwrapper/smbsh.c')
-rw-r--r--source3/smbwrapper/smbsh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/smbsh.c b/source3/smbwrapper/smbsh.c
index 1a38b0dea88..f0cdc1f0536 100644
--- a/source3/smbwrapper/smbsh.c
+++ b/source3/smbwrapper/smbsh.c
@@ -84,7 +84,7 @@ int main(int argc, char *argv[])
if (!smbw_getshared("USER")) {
printf("Username: ");
- u = fgets_slash(line, sizeof(line)-1, stdin);
+ u = fgets_slash(line, sizeof(line)-1, x_stdin);
smbw_setshared("USER", u);
}