X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fusers.c;h=6bc7cc34e79f680316862f40b9780b0c010c801b;hp=ff8c047adb8aae105f27b8d774171e238bd7de88;hb=1159cb5d383c55a80a0db100b8f7aadcf44740a5;hpb=fbaf81a04c23d51947d94a5c7d9142290dff07bc diff --git a/src/users.c b/src/users.c index ff8c047a..6bc7cc34 100644 --- a/src/users.c +++ b/src/users.c @@ -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) {