X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fusers.c;h=fc03ba2ce1e3f0d50ff45d9d43c30e6da5da07c5;hb=c4439c9cb3e2348ad7013644731de27a55eca478;hp=ff8c047adb8aae105f27b8d774171e238bd7de88;hpb=877672d20fcf0ed25f5fc5faa8aa3964c622bc27;p=collectd.git diff --git a/src/users.c b/src/users.c index ff8c047a..fc03ba2c 100644 --- a/src/users.c +++ b/src/users.c @@ -27,8 +27,8 @@ #include "collectd.h" -#include "common.h" #include "plugin.h" +#include "utils/common/common.h" #if HAVE_STATGRAB_H #include @@ -101,7 +101,7 @@ static int users_read(void) { us = sg_get_user_stats(); #endif if (us == NULL) - return (-1); + return -1; users_submit((gauge_t) #if HAVE_LIBSTATGRAB_0_90 @@ -115,7 +115,7 @@ static int users_read(void) { #error "No applicable input method." #endif - return (0); + return 0; } /* int users_read */ void module_register(void) {