From: Evgeny Naumov Date: Mon, 10 Sep 2018 16:18:06 +0000 (-0400) Subject: fix formatting X-Git-Tag: collectd-5.9.0~96^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=179cf85f72d9495d713d6f17acfafa734010ad25;p=thirdparty%2Fcollectd.git fix formatting --- diff --git a/src/gpu_nvml.c b/src/gpu_nvml.c index a41d601ca..ab4390b83 100644 --- a/src/gpu_nvml.c +++ b/src/gpu_nvml.c @@ -31,8 +31,7 @@ static char *nv_errline = ""; #define WRAPGAUGE(x) ((value_t){.gauge = (gauge_t)(x)}) static const char *config_keys[] = { - "GPUIndex", - "IgnoreSelected", + "GPUIndex", "IgnoreSelected", }; static const unsigned int n_config_keys = STATIC_ARRAY_SIZE(config_keys); @@ -175,7 +174,7 @@ static int nvml_read(void) { return 0; - // Failures here indicate serious misconfiguration; we bail out totally. +// Failures here indicate serious misconfiguration; we bail out totally. catch_nocount: ERROR("Failed to enumerate NVIDIA GPUs (\"%s\" returned %d)", nv_errline, nv_status);