From 179cf85f72d9495d713d6f17acfafa734010ad25 Mon Sep 17 00:00:00 2001 From: Evgeny Naumov Date: Mon, 10 Sep 2018 12:18:06 -0400 Subject: [PATCH] fix formatting --- src/gpu_nvml.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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); -- 2.11.0