mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
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).
This commit is contained in:
parent
03a2057a5b
commit
fe42e96eff
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89640
@ -253,7 +253,7 @@ kvm_t *
|
|||||||
kvm_openfiles(uf, mf, sf, flag, errout)
|
kvm_openfiles(uf, mf, sf, flag, errout)
|
||||||
const char *uf;
|
const char *uf;
|
||||||
const char *mf;
|
const char *mf;
|
||||||
const char *sf;
|
const char *sf __unused;
|
||||||
int flag;
|
int flag;
|
||||||
char *errout;
|
char *errout;
|
||||||
{
|
{
|
||||||
@ -272,7 +272,7 @@ kvm_t *
|
|||||||
kvm_open(uf, mf, sf, flag, errstr)
|
kvm_open(uf, mf, sf, flag, errstr)
|
||||||
const char *uf;
|
const char *uf;
|
||||||
const char *mf;
|
const char *mf;
|
||||||
const char *sf;
|
const char *sf __unused;
|
||||||
int flag;
|
int flag;
|
||||||
const char *errstr;
|
const char *errstr;
|
||||||
{
|
{
|
||||||
|
@ -87,11 +87,9 @@ the default indicated by
|
|||||||
.Dv _PATH_MEM
|
.Dv _PATH_MEM
|
||||||
from <paths.h> is used.
|
from <paths.h> is used.
|
||||||
.Pp
|
.Pp
|
||||||
|
The
|
||||||
.Fa swapfile
|
.Fa swapfile
|
||||||
should indicate the swap device. If
|
argument is currently unused.
|
||||||
.Dv NULL ,
|
|
||||||
.Dv _PATH_DRUM
|
|
||||||
from <paths.h> is used.
|
|
||||||
.Pp
|
.Pp
|
||||||
The
|
The
|
||||||
.Fa flags
|
.Fa flags
|
||||||
|
Loading…
Reference in New Issue
Block a user