summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/libsmbclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index ebbf28a12d..50af223726 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/libsmb/libsmbclient.c
@@ -1807,7 +1807,7 @@ static SMBCFILE *smbc_opendir_ctx(SMBCCTX *context, const char *fname)
server, sizeof(server),
share, sizeof(share),
path, sizeof(path),
- user, sizeof(path),
+ user, sizeof(user),
password, sizeof(password),
options, sizeof(options))) {
DEBUG(4, ("no valid path\n"));