summaryrefslogtreecommitdiffstats
path: root/usr.bin/whereis/whereis.c
diff options
context:
space:
mode:
authorjohan <johan@FreeBSD.org>2002-07-25 23:04:31 +0000
committerjohan <johan@FreeBSD.org>2002-07-25 23:04:31 +0000
commitb54fc31edcf49788fa933b84b9b9bb8c5bc97b9c (patch)
tree5209c78bc587618a6c904cef94cb2307ebcae7c6 /usr.bin/whereis/whereis.c
parentdeae793eceef2c2e5403957470affa62b5ee1f82 (diff)
downloadFreeBSD-src-b54fc31edcf49788fa933b84b9b9bb8c5bc97b9c.zip
FreeBSD-src-b54fc31edcf49788fa933b84b9b9bb8c5bc97b9c.tar.gz
Define all paths in pathnames.h
Approved by: joerg, sheldonh (mentor)
Diffstat (limited to 'usr.bin/whereis/whereis.c')
-rw-r--r--usr.bin/whereis/whereis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/whereis/whereis.c b/usr.bin/whereis/whereis.c
index b2a79d2..e78e089 100644
--- a/usr.bin/whereis/whereis.c
+++ b/usr.bin/whereis/whereis.c
@@ -274,8 +274,8 @@ defaults(void)
bindirs = realloc(bindirs, (nele + 3) * sizeof(char *));
if (bindirs == NULL)
abort();
- bindirs[nele++] = "/usr/libexec";
- bindirs[nele++] = "/usr/games";
+ bindirs[nele++] = PATH_LIBEXEC;
+ bindirs[nele++] = PATH_GAMES;
bindirs[nele] = NULL;
if ((cp = getenv("PATH")) != NULL) {
/* don't destroy the original environment... */
OpenPOWER on IntegriCloud