aboutsummaryrefslogtreecommitdiff
path: root/hardinfo/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo/util.c')
-rw-r--r--hardinfo/util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hardinfo/util.c b/hardinfo/util.c
index e94d215a..e9b2f930 100644
--- a/hardinfo/util.c
+++ b/hardinfo/util.c
@@ -54,10 +54,10 @@ gchar *find_program(gchar *program_name)
int i;
char *temp;
static GHashTable *cache = NULL;
- const char *path[] = { "/bin", "/sbin",
- "/usr/bin", "/usr/sbin",
- "/usr/local/bin", "/usr/local/sbin",
- NULL };
+ const char *path[] = { "/usr/local/bin", "/usr/local/sbin",
+ "/usr/bin", "/usr/sbin",
+ "/bin", "/sbin",
+ NULL };
/* we don't need to call stat() every time: cache the results */
if (!cache) {