* gdb.base/unload.c (main): Make local variable msg const.

This commit is contained in:
Mark Kettenis 2004-08-15 10:24:08 +00:00
parent 45f07fef90
commit 00b51b9f52
2 changed files with 5 additions and 1 deletions

View file

@ -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 ();