mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +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)
|
||||
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;
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user