mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Tell nls_setlocale() the very locale name from command line option,
rather than using optarg variable which would be allways NULL.
This commit is contained in:
parent
969f700138
commit
19434a77d6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148815
|
@ -124,7 +124,7 @@ smb_ctx_init(struct smb_ctx *ctx, int argc, char *argv[],
|
||||||
return error;
|
return error;
|
||||||
break;
|
break;
|
||||||
case 'L':
|
case 'L':
|
||||||
error = nls_setlocale(optarg);
|
error = nls_setlocale(arg);
|
||||||
if (error)
|
if (error)
|
||||||
break;
|
break;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue