diff options
author | peter <peter@FreeBSD.org> | 1998-11-03 13:09:31 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-11-03 13:09:31 +0000 |
commit | cc3d9aafe58ea3283656c4f2dde388bd23b05ada (patch) | |
tree | 096f4350525e9f8c57672d5f9971b4172188d830 /sys/kern | |
parent | 78464eeb15142ecc1e86da1e971f43dda0ac3315 (diff) | |
download | FreeBSD-src-cc3d9aafe58ea3283656c4f2dde388bd23b05ada.zip FreeBSD-src-cc3d9aafe58ea3283656c4f2dde388bd23b05ada.tar.gz |
Use the kvm space pathname that we copied in, not the one in user space.
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/kern_linker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_linker.c b/sys/kern/kern_linker.c index 55bf76b..081e99a 100644 --- a/sys/kern/kern_linker.c +++ b/sys/kern/kern_linker.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_linker.c,v 1.10 1998/10/15 17:12:12 peter Exp $ + * $Id: kern_linker.c,v 1.11 1998/10/24 18:35:09 msmith Exp $ */ #include "opt_ddb.h" @@ -523,7 +523,7 @@ kldload(struct proc* p, struct kldload_args* uap) if (error = copyinstr(SCARG(uap, file), filename, MAXPATHLEN, NULL)) goto out; - if (error = linker_load_file(uap->file, &lf)) + if (error = linker_load_file(filename, &lf)) goto out; lf->userrefs++; |