diff options
author | jake <jake@FreeBSD.org> | 2002-08-29 06:17:48 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-08-29 06:17:48 +0000 |
commit | 821a548da75eefa18540bb668624292c4408fd33 (patch) | |
tree | 504a24449e0b0453b084a0982a343d168bd22048 /sys/kern | |
parent | 97dddf3bbf469578f768ae9cecb847603aed817d (diff) | |
download | FreeBSD-src-821a548da75eefa18540bb668624292c4408fd33.zip FreeBSD-src-821a548da75eefa18540bb668624292c4408fd33.tar.gz |
Renamed poorly named setregs to exec_setregs. Moved its prototype to
imgact.h with the other exec support functions.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index 887e75f..5e04c90 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -519,8 +519,8 @@ interpret: (*p->p_sysent->sv_setregs)(td, imgp->entry_addr, (u_long)(uintptr_t)stack_base, imgp->ps_strings); else - setregs(td, imgp->entry_addr, (u_long)(uintptr_t)stack_base, - imgp->ps_strings); + exec_setregs(td, imgp->entry_addr, + (u_long)(uintptr_t)stack_base, imgp->ps_strings); /* Cache arguments if they fit inside our allowance */ if (ps_arg_cache_limit >= i + sizeof(struct pargs)) { |