diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-15 13:54:32 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-12-15 13:54:32 +0100 |
commit | 4eeeb63647c7e32efb9c9a997f4d6479207899b9 (patch) | |
tree | 36d535241e343d174e557f525bfb7ed8967b5e15 /linux/LibSensors.c | |
parent | eb36385a6bdfeb58eb9a441043b76948bf5d2e6b (diff) |
LibSensors: fix unversioned libsensors library name
Diffstat (limited to 'linux/LibSensors.c')
-rw-r--r-- | linux/LibSensors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/LibSensors.c b/linux/LibSensors.c index 1e53882c..5e119350 100644 --- a/linux/LibSensors.c +++ b/linux/LibSensors.c @@ -23,9 +23,9 @@ static void* dlopenHandle = NULL; int LibSensors_init(FILE* input) { if (!dlopenHandle) { - dlopenHandle = dlopen("libsensors.so.", RTLD_LAZY); + dlopenHandle = dlopen("libsensors.so", RTLD_LAZY); if (!dlopenHandle) { - /* Debian contains no unversioned .so in libsensors5, only in the -dev package, so work around that: */ + /* Debian contains no unversioned .so in libsensors5, only in the -dev package, so work around that: */ dlopenHandle = dlopen("libsensors.so.5", RTLD_LAZY); if (!dlopenHandle) goto dlfailure; |