Small fix for S48 bug.

This commit is contained in:
mainzelm 2000-12-19 16:22:08 +00:00
parent 902df6dc62
commit 59a757fccf
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ dlsym(void *lib, char *name)
lasterror = "Bad library pointer passed to dlsym()";
return (NULL);
}
if (object_file == NULL) {
if (s48_object_file == NULL) {
lasterror = "I don't know the name of my executable";
return (NULL);
}
@ -87,7 +87,7 @@ dlsym(void *lib, char *name)
names[0].n_value = 0; /* for Linux */
names[0].n_type = 0; /* for Linux */
names[1].n_name = NULL;
status = nlist(object_file, names);
status = nlist(s48_object_file, names);
#ifdef USCORE
if (tmp != buff)
free((void *)tmp);