Make memcontrol(8) able to delete the segments starting at a base of 0

which it can create..
This commit is contained in:
Brian Feldman 2000-03-20 22:53:32 +00:00
parent d249b1750a
commit 2e61f987ad
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58408

View file

@ -301,7 +301,7 @@ clearfunc(int memfd, int argc, char *argv[])
warn("couldn't clear range owned by '%s'", owner);
}
}
} else if ((mrd.mr_base != 0) && (mrd.mr_len != 0)) {
} else if (mrd.mr_len != 0) {
/* clear-by-base/len */
mro.mo_arg[0] = MEMRANGE_SET_REMOVE;
mro.mo_desc = &mrd;