From: Laslo Hunhold Date: Mon, 21 May 2018 21:03:34 +0000 (+0200) Subject: swap.c: Refactor getstats() and its usage X-Git-Url: https://git.xinqibao.xyz/slstatus.git/commitdiff_plain/7f91ce265ea456b3096ccba7fdbb890bcf00e225?ds=sidebyside;hp=7f91ce265ea456b3096ccba7fdbb890bcf00e225 swap.c: Refactor getstats() and its usage Add a return value so we are able to check any errors and actually fail when there has been a critical error instead of carrying on uselessly. ---