aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/unload.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/unload.c')
-rw-r--r--gdb/testsuite/gdb.base/unload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/unload.c b/gdb/testsuite/gdb.base/unload.c
index 7b4c8ec..4d7d05d 100644
--- a/gdb/testsuite/gdb.base/unload.c
+++ b/gdb/testsuite/gdb.base/unload.c
@@ -28,7 +28,7 @@ int main()
void *handle;
int (*unloadshr) (int);
int y;
- char *msg;
+ const char *msg;
handle = dlopen (SHLIB_NAME, RTLD_LAZY);
msg = dlerror ();