summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-11-21 19:08:15 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-21 19:08:15 +0000
commit542324f4b48897d40adb010afc440261c599633d (patch)
tree33afe52b3d0c3f082af83aba7716b8a51c223c67 /adb
parentaa98c835462177597eba90eac297a1a86f4a02d0 (diff)
parent0750f78659758352490e599d057a39dc44e93340 (diff)
downloadsystem_core-542324f4b48897d40adb010afc440261c599633d.zip
system_core-542324f4b48897d40adb010afc440261c599633d.tar.gz
system_core-542324f4b48897d40adb010afc440261c599633d.tar.bz2
am 0750f786: Merge "Remove explict use of ASCII encoding"
* commit '0750f78659758352490e599d057a39dc44e93340': Remove explict use of ASCII encoding
Diffstat (limited to 'adb')
-rw-r--r--adb/get_my_path_darwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/get_my_path_darwin.c b/adb/get_my_path_darwin.c
index 65dd226..ff1396c 100644
--- a/adb/get_my_path_darwin.c
+++ b/adb/get_my_path_darwin.c
@@ -24,7 +24,7 @@ void get_my_path(char *s, size_t maxLen)
CFStringRef executablePathString = CFURLCopyFileSystemPath(executableURL, kCFURLPOSIXPathStyle);
CFRelease(executableURL);
- CFStringGetCString(executablePathString, s, maxLen, kCFStringEncodingASCII);
+ CFStringGetFileSystemRepresentation(executablePathString, s, maxLen);
CFRelease(executablePathString);
}