diff options
author | takawata <takawata@FreeBSD.org> | 2005-05-04 15:05:46 +0000 |
---|---|---|
committer | takawata <takawata@FreeBSD.org> | 2005-05-04 15:05:46 +0000 |
commit | a61ec3d8166cdedc2125146e2644135d395e23d0 (patch) | |
tree | 216a2f442d29ae72f28b9372fd875634a1915745 /sys/fs/smbfs/smbfs_smb.c | |
parent | ad22e93c3e76a385b3c7daf033526a631da450d2 (diff) | |
download | FreeBSD-src-a61ec3d8166cdedc2125146e2644135d395e23d0.zip FreeBSD-src-a61ec3d8166cdedc2125146e2644135d395e23d0.tar.gz |
Make smbfs capable to use 16bit char set in filenames.
PR:78110
Diffstat (limited to 'sys/fs/smbfs/smbfs_smb.c')
-rw-r--r-- | sys/fs/smbfs/smbfs_smb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/smbfs/smbfs_smb.c b/sys/fs/smbfs/smbfs_smb.c index ea1721e..f45d2ac 100644 --- a/sys/fs/smbfs/smbfs_smb.c +++ b/sys/fs/smbfs/smbfs_smb.c @@ -1449,8 +1449,8 @@ smbfs_findnext(struct smbfs_fctx *ctx, int limit, struct smb_cred *scred) continue; break; } - smbfs_fname_tolocal(SSTOVC(ctx->f_ssp), ctx->f_name, ctx->f_nmlen, - ctx->f_dnp->n_mount->sm_caseopt); + smbfs_fname_tolocal(SSTOVC(ctx->f_ssp), ctx->f_name, &ctx->f_nmlen, + ctx->f_dnp->n_mount->sm_caseopt); ctx->f_attr.fa_ino = smbfs_getino(ctx->f_dnp, ctx->f_name, ctx->f_nmlen); return 0; } |