diff options
| author | Garrett Wollman <wollman@FreeBSD.org> | 1994-09-24 00:08:43 +0000 |
|---|---|---|
| committer | Garrett Wollman <wollman@FreeBSD.org> | 1994-09-24 00:08:43 +0000 |
| commit | 4be4929c2b4d34e3b3fe776a16b448b428012e5d (patch) | |
| tree | 435e4d2e36ec5a88d5e2af12354bfba8fc5f8bf9 /lib | |
| parent | 53d733f050a55778e53b7d867ae595c52feda030 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libkvm/kvm.c | 2 | ||||
| -rw-r--r-- | lib/libkvm/kvm_open.3 | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c index 56ab485fb364..b8d342b0e753 100644 --- a/lib/libkvm/kvm.c +++ b/lib/libkvm/kvm.c @@ -182,7 +182,7 @@ _kvm_open(kd, uf, mf, sf, flag, errout) kd->argv = 0; if (uf == 0) - uf = _PATH_UNIX; + uf = getbootfile(); else if (strlen(uf) >= MAXPATHLEN) { _kvm_err(kd, kd->program, "exec file name too long"); goto failed; diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3 index dd6895b417d4..7e604a150b92 100644 --- a/lib/libkvm/kvm_open.3 +++ b/lib/libkvm/kvm_open.3 @@ -70,9 +70,8 @@ This file must contain a symbol table. If this argument is .Dv NULL , the currently running system is assumed, -which is indicated by -.Dv _PATH_UNIX -in <paths.h>. +as determined from +.Xr getbootfile 3 . .Pp .Fa corefile is the kernel memory device file. It can be either /dev/mem |
