forked from OSchip/llvm-project
parent
ef1899b01d
commit
a1f048d2ab
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue