summaryrefslogtreecommitdiffstats
path: root/misc-utils/whereis.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc-utils/whereis.c')
-rw-r--r--misc-utils/whereis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc-utils/whereis.c b/misc-utils/whereis.c
index 828106ffe..c598d494e 100644
--- a/misc-utils/whereis.c
+++ b/misc-utils/whereis.c
@@ -99,6 +99,8 @@ struct wh_dirlist {
static const char *bindirs[] = {
"/usr/bin",
"/usr/sbin",
+ "/bin",
+ "/sbin",
#if defined(MULTIARCHTRIPLET)
"/lib/" MULTIARCHTRIPLET,
"/usr/lib/" MULTIARCHTRIPLET,
@@ -106,8 +108,6 @@ static const char *bindirs[] = {
#endif
"/usr/lib",
"/usr/lib64",
- "/bin",
- "/sbin",
"/etc",
"/usr/etc",
"/lib",