Fix compilation warning.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 14 Sep 2004 15:46:13 +0000 (15:46 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 14 Sep 2004 15:46:13 +0000 (15:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16336 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llee/SysUtils.c

index 0325c40b9d711a8720517048940c0e77de2b99e4..60912b246d92d1ad860d811d49f91283071efd27 100644 (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);