summaryrefslogtreecommitdiff
path: root/tizen
diff options
context:
space:
mode:
authorMunkyu Im <munkyu.im@samsung.com>2017-03-14 21:57:18 +0900
committerMunkyu Im <munkyu.im@samsung.com>2017-03-14 22:04:25 +0900
commitcc120344667f04d4f9dd72a1edc7425351e2f902 (patch)
treed48980e495a5cbebe05f7b838ded802fc62d32b3 /tizen
parent19d867ff6d513da311ce3fa58adbb814e26938ec (diff)
downloadqemu-cc120344667f04d4f9dd72a1edc7425351e2f902.tar.gz
qemu-cc120344667f04d4f9dd72a1edc7425351e2f902.tar.bz2
qemu-cc120344667f04d4f9dd72a1edc7425351e2f902.zip
sdcard: remove wrong encoding on Windows
sdcard path is already encoded by system encoding. So, these is no need to encode twice. Change-Id: Ie4a442bc6ba76e28f427b7f316a92a99eb634639 Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Diffstat (limited to 'tizen')
-rw-r--r--tizen/src/util/osutil-win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tizen/src/util/osutil-win32.c b/tizen/src/util/osutil-win32.c
index 6f4c65dc90..7a6fcfc3e8 100644
--- a/tizen/src/util/osutil-win32.c
+++ b/tizen/src/util/osutil-win32.c
@@ -206,7 +206,7 @@ bool make_sdcard_lock_os(char *sdcard)
}
fname = g_strdup_printf("%s.lck", sdcard);
- h = CreateFile(g_win32_locale_filename_from_utf8(fname),
+ h = CreateFile(fname,
GENERIC_READ,
0, // No share
NULL,