mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-25 14:30:32 +00:00
Fix compilation warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16336 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8c0c33984b
commit
e6bd638fec
@ -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
|
* 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.
|
* 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");
|
execveTy execvePtr = (execveTy) dlsym(RTLD_NEXT, "execve");
|
||||||
if ((error = dlerror()) != NULL) {
|
if ((error = dlerror()) != NULL) {
|
||||||
fprintf(stderr, "%s\n", error);
|
fprintf(stderr, "%s\n", error);
|
||||||
|
Loading…
Reference in New Issue
Block a user