diff --git a/src/utils.c b/src/utils.c index 5294ce3..2ad4272 100644 --- a/src/utils.c +++ b/src/utils.c @@ -69,7 +69,6 @@ inline char *pretty_bytes(const uint64_t bytes, int8_t start_suffix, char *buf, /* path has to have at least 8 free chars at the end for glob */ int get_hwmon_dir(char *path, const size_t bufsz) { glob_t g; - strcat(path, "/hwmon*"); if (glob(path, 0, NULL, &g) == 0) {