[FileSystem] Update SetFile signature.

llvm-svn: 345898
This commit is contained in:
Jonas Devlieghere 2018-11-01 22:16:34 +00:00
parent ef1899b01d
commit a1f048d2ab
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ FileSpec HostInfoFreeBSD::GetProgramFileSpec() {
if (sysctl(exe_path_mib, 4, NULL, &exe_path_size, NULL, 0) == 0) {
char *exe_path = new char[exe_path_size];
if (sysctl(exe_path_mib, 4, exe_path, &exe_path_size, NULL, 0) == 0)
g_program_filespec.SetFile(exe_path, false, FileSpec::Style::native);
g_program_filespec.SetFile(exe_path, FileSpec::Style::native);
delete[] exe_path;
}
}