mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Fix compilation warning.
llvm-svn: 16336
This commit is contained in:
parent
73742a57c4
commit
991b92eff7
@ -115,7 +115,7 @@ int executeProgram(const char *filename, char *const argv[], char *const envp[])
|
||||
* Find a pointer to the *real* execve() function starting the search in the
|
||||
* next library and forward, to avoid finding the one defined in this file.
|
||||
*/
|
||||
char *error;
|
||||
const char *error;
|
||||
execveTy execvePtr = (execveTy) dlsym(RTLD_NEXT, "execve");
|
||||
if ((error = dlerror()) != NULL) {
|
||||
fprintf(stderr, "%s\n", error);
|
||||
|
Loading…
Reference in New Issue
Block a user