Skip to content

Commit

Permalink
init node->ln_name -> library
Browse files Browse the repository at this point in the history
  • Loading branch information
bebbo committed Jun 17, 2024
1 parent 1e99d5e commit b2a7283
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sources/startup/init_shared.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,9 @@ __LibOpen(struct Library *_masterlib asm("a6")) {
struct Library *childLib = (struct Library*) to;
childLib->lib_Sum = (ULONG) task;
childLib->lib_OpenCnt = 1;
AddHead(&__libList, (struct Node* )&childLib[1]); // the child's libList as node...
struct Node* node = (struct Node* )&childLib[1];
node->ln_Name = (char *)childLib;
AddHead(&__libList, node); // the child's libList as node...

// apply datadata relocs
long *p;
Expand Down

0 comments on commit b2a7283

Please sign in to comment.