diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-09-14 15:46:13 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-09-14 15:46:13 +0000 |
commit | e6bd638fecc52dcd813da92600240a4ec118149d (patch) | |
tree | aca293dc6ddc8754109fc945dee284f92b22e703 /tools | |
parent | 8c0c33984b919f572be84869bb508a6491417057 (diff) | |
download | llvm-e6bd638fecc52dcd813da92600240a4ec118149d.tar.gz llvm-e6bd638fecc52dcd813da92600240a4ec118149d.tar.bz2 llvm-e6bd638fecc52dcd813da92600240a4ec118149d.tar.xz |
Fix compilation warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16336 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llee/SysUtils.c | 2 |
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); |