From: Evgeny Naumov Date: Mon, 10 Sep 2018 16:18:06 +0000 (-0400) Subject: fix formatting X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=179cf85f72d9495d713d6f17acfafa734010ad25;p=collectd.git fix formatting --- diff --git a/src/gpu_nvml.c b/src/gpu_nvml.c index a41d601c..ab4390b8 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);