X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fswap.c;h=db0b987c53f7531b3fd8410a8f36bbd04edec942;hb=614660f40c32b5af9b6c4852e4e370fc3953a5c8;hp=ede638a6ce6aaf13f678326de2e2179bd087d668;hpb=6e41c3b1f024d7944e5e8010a87933555c662474;p=collectd.git diff --git a/src/swap.c b/src/swap.c index ede638a6..db0b987c 100644 --- a/src/swap.c +++ b/src/swap.c @@ -93,7 +93,7 @@ static bool report_by_device; /* #endif defined(VM_SWAPUSAGE) */ #elif HAVE_LIBKVM_GETSWAPINFO -static kvm_t *kvm_obj = NULL; +static kvm_t *kvm_obj; int kvm_pagesize; /* #endif HAVE_LIBKVM_GETSWAPINFO */