From 39193cdc9fa3f63d3236be188438b4c49f3154f3 Mon Sep 17 00:00:00 2001 From: Drath Date: Sun, 10 May 2026 18:16:43 +0200 Subject: [PATCH] works --- src/utils.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/utils.c b/src/utils.c index a779108..0b124a6 100644 --- a/src/utils.c +++ b/src/utils.c @@ -17,8 +17,6 @@ inline bool file_exists(const char* path) { /* path has to have at least 8 free chars at the end for glob */ int get_hwmon_dir(char* path) { glob_t g; - // const size_t len = strlen(path); - // strcpy(&path[len], "/hwmon*"); // append the glob to the end of the path strncat(path, "/hwmon*", 8); if (glob(path, 0, nullptr, &g) == 0) {