1
0
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:
Reid Spencer 2004-09-14 15:46:13 +00:00
parent 73742a57c4
commit 991b92eff7

View File

@ -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);