mirror of https://github.com/BOINC/boinc.git
Lib: fix compile error
Fixes ambiguity reported by gcc "error: call of overloaded 'perror(const char [9])' is ambiguous"
This commit is contained in:
parent
31e8427469
commit
573ee60fed
|
@ -636,7 +636,11 @@ int get_real_executable_path(char* path, size_t max_len) {
|
|||
path[ret] = '\0'; // readlink does not null terminate
|
||||
return 0;
|
||||
} else {
|
||||
#ifdef _USING_FCGI_
|
||||
FCGI::perror("readlink");
|
||||
#else
|
||||
perror("readlink");
|
||||
#endif
|
||||
return ERR_PROC_PARSE;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue