git: libkvm - Adjust new sysctl-based kvm_getswapinfo() code

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Aug 22 09:15:50 PDT 2010


commit 6a0dc7b72d39a9b5dd4c300a24470925d75ada31
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Aug 22 09:13:10 2010 -0700

    libkvm - Adjust new sysctl-based kvm_getswapinfo() code
    
    * Make it adhere to the original API which populates a cumulative
      result at swap_ary[returned_index].
    
    Submitted-by: Ilya Dryomov <idryomov at gmail.com>

Summary of changes:
 lib/libkvm/kvm_getswapinfo.c |   74 ++++++++++++++++++++++++++++-------------
 1 files changed, 50 insertions(+), 24 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6a0dc7b72d39a9b5dd4c300a24470925d75ada31


-- 
DragonFly BSD source repository





More information about the Commits mailing list