diff options
author | ru <ru@FreeBSD.org> | 2002-01-22 10:07:03 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-01-22 10:07:03 +0000 |
commit | c4b08ff306767dda0c1e1dd9ad62f27d3c420cbc (patch) | |
tree | 9108b3c1955559436bcbdb4a5e02fc365d9af316 /lib/libkvm | |
parent | 4f050b1765cbe6b5989b5ccee6a3d46a479bfd1a (diff) | |
download | FreeBSD-src-c4b08ff306767dda0c1e1dd9ad62f27d3c420cbc.zip FreeBSD-src-c4b08ff306767dda0c1e1dd9ad62f27d3c420cbc.tar.gz |
Finish cleanup in kvm.c revisions 1.10 and 1.11 -- mark sf (swapfile)
argument to kvm_open() and kvm_openfiles() as unused.
BSD didn't read swap since kvm.c CSRG revision 5.21 (u-area is pageable
under new VM. no need to read from swap.)
The old !NEWVM code was removed in CSRG revision 5.23 (~ten years ago).
Diffstat (limited to 'lib/libkvm')
-rw-r--r-- | lib/libkvm/kvm.c | 4 | ||||
-rw-r--r-- | lib/libkvm/kvm_open.3 | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c index 8ce148e..32ff245 100644 --- a/lib/libkvm/kvm.c +++ b/lib/libkvm/kvm.c @@ -253,7 +253,7 @@ kvm_t * kvm_openfiles(uf, mf, sf, flag, errout) const char *uf; const char *mf; - const char *sf; + const char *sf __unused; int flag; char *errout; { @@ -272,7 +272,7 @@ kvm_t * kvm_open(uf, mf, sf, flag, errstr) const char *uf; const char *mf; - const char *sf; + const char *sf __unused; int flag; const char *errstr; { diff --git a/lib/libkvm/kvm_open.3 b/lib/libkvm/kvm_open.3 index 04990b4..c037850 100644 --- a/lib/libkvm/kvm_open.3 +++ b/lib/libkvm/kvm_open.3 @@ -87,11 +87,9 @@ the default indicated by .Dv _PATH_MEM from <paths.h> is used. .Pp +The .Fa swapfile -should indicate the swap device. If -.Dv NULL , -.Dv _PATH_DRUM -from <paths.h> is used. +argument is currently unused. .Pp The .Fa flags |