diff options
Diffstat (limited to 'lib/libkvm')
| -rw-r--r-- | lib/libkvm/kvm.c | 2 | ||||
| -rw-r--r-- | lib/libkvm/kvm_nlist.3 | 4 | ||||
| -rw-r--r-- | lib/libkvm/kvm_private.h | 2 | 
3 files changed, 4 insertions, 4 deletions
| diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c index a76f61e8d52c..56ab485fb364 100644 --- a/lib/libkvm/kvm.c +++ b/lib/libkvm/kvm.c @@ -226,7 +226,7 @@ _kvm_open(kd, uf, mf, sf, flag, errout)  		}  		/*  		 * Open kvm nlist database.  We go ahead and do this -		 * here so that we don't have to hold on to the vmunix +		 * here so that we don't have to hold on to the kernel  		 * path name.  Since a kvm application will surely do  		 * a kvm_nlist(), this probably won't be a wasted effort.  		 * If the database cannot be opened, open the namelist diff --git a/lib/libkvm/kvm_nlist.3 b/lib/libkvm/kvm_nlist.3 index 1c0cd89af75b..f620f559b90f 100644 --- a/lib/libkvm/kvm_nlist.3 +++ b/lib/libkvm/kvm_nlist.3 @@ -71,8 +71,8 @@ The  function returns the number of invalid entries found.  If the kernel symbol table was unreadable, -1 is returned.  .Sh FILES -.Bl -tag -width /var/db/kvm_vmunix.db -compact -.It Pa /var/db/kvm_vmunix.db +.Bl -tag -width /var/db/kvm_kernel.db -compact +.It Pa /var/db/kvm_kernel.db  .El  .Sh SEE ALSO  .Xr kvm 3 , diff --git a/lib/libkvm/kvm_private.h b/lib/libkvm/kvm_private.h index baaeb053814b..5df73eb7ddf9 100644 --- a/lib/libkvm/kvm_private.h +++ b/lib/libkvm/kvm_private.h @@ -51,7 +51,7 @@ struct __kvm {  	int	pmfd;		/* physical memory file (or crashdump) */  	int	vmfd;		/* virtual memory file (-1 if crashdump) */  	int	swfd;		/* swap file (e.g., /dev/drum) */ -	int	nlfd;		/* namelist file (e.g., /vmunix) */ +	int	nlfd;		/* namelist file (e.g., /kernel) */  	struct kinfo_proc *procbase;  	char	*argspc;	/* (dynamic) storage for argv strings */  	int	arglen;		/* length of the above */ | 
