diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2011-03-12 04:54:29 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2011-03-12 04:54:29 +0000 |
commit | a79766e940b76ce3fc27af710b45145c5a8c3edf (patch) | |
tree | d1d61b3bbff4cd49d452a09b222d58400643b4ab /lib/libkvm/kvm.c | |
parent | 0b04a0ec6ae4d56e31d9ced0bf6fc0178f67fc67 (diff) |
Replace the old, broken KERN_PROC ABI and its matching functions
in libkvm with the stable-ABI versions that are currently named
KERN_PROC2, kvm_get{proc,argv,envv}2(). The latter names and symbols
will continue to be supported for a few releases.
Committing now that they ports people have had a couple releases
to update pkgs that usd the old functions
Diffstat (limited to 'lib/libkvm/kvm.c')
-rw-r--r-- | lib/libkvm/kvm.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c index 5e4ec0ab34f..d84226c2ad8 100644 --- a/lib/libkvm/kvm.c +++ b/lib/libkvm/kvm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm.c,v 1.48 2009/10/27 23:59:28 deraadt Exp $ */ +/* $OpenBSD: kvm.c,v 1.49 2011/03/12 04:54:28 guenther Exp $ */ /* $NetBSD: kvm.c,v 1.43 1996/05/05 04:31:59 gwr Exp $ */ /*- @@ -178,7 +178,6 @@ _kvm_open(kvm_t *kd, const char *uf, const char *mf, const char *sf, kd->alive = 0; kd->filebase = 0; kd->procbase = 0; - kd->procbase2 = 0; kd->nbpg = getpagesize(); kd->swapspc = 0; kd->argspc = 0; @@ -638,8 +637,6 @@ kvm_close(kvm_t *kd) free((void *)kd->filebase); if (kd->procbase != 0) free((void *)kd->procbase); - if (kd->procbase2 != 0) - free(kd->procbase2); if (kd->swapspc != 0) free((void *)kd->swapspc); if (kd->argspc != 0) |