1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Fix breakage on alpha.

Pointed out by: hrs via IRC
This commit is contained in:
Takanori Watanabe 2005-05-05 07:02:51 +00:00
parent 5a2f73e624
commit 1e8a69609e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145900

View File

@ -321,8 +321,8 @@ smbfs_fname_tolocal(struct smb_vc *vcp, char *name, int *nmlen, int caseopt)
int copt = (caseopt == SMB_CS_LOWER ? KICONV_FROM_LOWER :
(caseopt == SMB_CS_UPPER ? KICONV_FROM_UPPER : 0));
int error = 0;
int ilen = *nmlen;
int olen;
size_t ilen = *nmlen;
size_t olen;
char *ibuf = name;
char outbuf[SMB_MAXFNAMELEN];
char *obuf = outbuf;