mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 11:18:30 +00:00
Make some minor touchups for nightlies
This commit is contained in:
parent
3265324e00
commit
e9272f03fb
4 changed files with 5 additions and 3 deletions
|
@ -659,8 +659,8 @@ __attribute__((__noreturn__)) void ApeLoader(long di, long *sp, char dl,
|
|||
}
|
||||
|
||||
// get syscall function pointer
|
||||
if (handoff && handoff->syscall) {
|
||||
syscall = handoff->syscall;
|
||||
if (handoff && handoff->systemcall) {
|
||||
syscall = handoff->systemcall;
|
||||
} else {
|
||||
syscall = __syscall_loader;
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@ struct ApeLoader {
|
|||
int os;
|
||||
char *prog;
|
||||
char *page;
|
||||
void *syscall;
|
||||
void *systemcall;
|
||||
};
|
||||
|
||||
#endif /* COSMOPOLITAN_APE_LOADER_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue