aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/mount_msdosfs
diff options
context:
space:
mode:
authorTai-hwa Liang <avatar@FreeBSD.org>2005-12-01 00:18:48 +0000
committerTai-hwa Liang <avatar@FreeBSD.org>2005-12-01 00:18:48 +0000
commit9f6442eea21b7a41950739437c5c6cfb8bf78f7c (patch)
treeef68aba1f6b939a55ec651f48b22ed76f3307b2d /sbin/mount_msdosfs
parent045d4ae3f6d1fb377b0369178c295c218a834258 (diff)
downloadsrc-9f6442eea21b7a41950739437c5c6cfb8bf78f7c.tar.gz
src-9f6442eea21b7a41950739437c5c6cfb8bf78f7c.zip
Fixing yet another regression introduced in rev1.37 by preserving cs_local
pointer such that local to DOS code page conversion with combined option '-L,-D' works again. Reviewed by: rodrigc
Notes
Notes: svn path=/head/; revision=152974
Diffstat (limited to 'sbin/mount_msdosfs')
-rw-r--r--sbin/mount_msdosfs/mount_msdosfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/mount_msdosfs/mount_msdosfs.c b/sbin/mount_msdosfs/mount_msdosfs.c
index 0d086a2fa673..a4e29d85c8e3 100644
--- a/sbin/mount_msdosfs/mount_msdosfs.c
+++ b/sbin/mount_msdosfs/mount_msdosfs.c
@@ -126,6 +126,7 @@ main(int argc, char **argv)
err(EX_CONFIG, "%s", optarg);
quirk = kiconv_quirkcs(csp + 1, KICONV_VENDOR_MICSFT);
build_iovec_argf(&iov, &iovlen, "cs_local", quirk);
+ cs_local = strdup(quirk);
}
break;
case 'D':