diff options
-rw-r--r-- | hardware.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -154,6 +154,10 @@ int hw_get_module_by_class(const char *class_id, const char *inst, if (access(path, R_OK) == 0) break; } else { snprintf(path, sizeof(path), "%s/%s.default.so", + HAL_LIBRARY_PATH2, name); + if (access(path, R_OK) == 0) break; + + snprintf(path, sizeof(path), "%s/%s.default.so", HAL_LIBRARY_PATH1, name); if (access(path, R_OK) == 0) break; } |