summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-path
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-03 15:40:14 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-03 15:40:14 +0200
commit613e3a26c1209a30c0643159fdd7283cbcfc51f6 (patch)
treef2df69bdcac74320d0c60f0692fa5ecb44f9a6dc /src/libsystemd/sd-path
parent3e2d435b3d2247a60d6def932d28a4856566a7d7 (diff)
shared: rename ARCH_TUPLE to LIB_ARCH_TUPLE
This is really just about library locations, hence clarify that we don't assume this to be anything but that.
Diffstat (limited to 'src/libsystemd/sd-path')
-rw-r--r--src/libsystemd/sd-path/sd-path.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd/sd-path/sd-path.c b/src/libsystemd/sd-path/sd-path.c
index 44c1b8bd70..7ade915c2b 100644
--- a/src/libsystemd/sd-path/sd-path.c
+++ b/src/libsystemd/sd-path/sd-path.c
@@ -275,7 +275,7 @@ static int get_path(uint64_t type, char **buffer, const char **ret) {
return from_home_dir(NULL, ".local/lib", buffer, ret);
case SD_PATH_USER_LIBRARY_ARCH:
- return from_home_dir(NULL, ".local/lib/" ARCH_TUPLE, buffer, ret);
+ return from_home_dir(NULL, ".local/lib/" LIB_ARCH_TUPLE, buffer, ret);
case SD_PATH_USER_SHARED:
return from_home_dir("XDG_DATA_HOME", ".local/share", buffer, ret);
@@ -502,7 +502,7 @@ static int get_search(uint64_t type, char ***list) {
case SD_PATH_SEARCH_LIBRARY_ARCH:
return search_from_environment(list,
NULL,
- ".local/lib/" ARCH_TUPLE,
+ ".local/lib/" LIB_ARCH_TUPLE,
"LD_LIBRARY_PATH",
true,
LIBDIR,