aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/llee/SysUtils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llee/SysUtils.c b/tools/llee/SysUtils.c
index 0325c40b9d..60912b246d 100644
--- a/tools/llee/SysUtils.c
+++ b/tools/llee/SysUtils.c
@@ -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);