diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-20 18:57:15 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-20 18:57:15 +0100 |
commit | 4198b4d2092cbe1204a071185795621e2433921a (patch) | |
tree | 96ee33100113eb0ec627eb8c7915d1cbd962c485 | |
parent | change semantics of searchpath2 and add searchpath3 (diff) | |
download | slibc-4198b4d2092cbe1204a071185795621e2433921a.tar.gz slibc-4198b4d2092cbe1204a071185795621e2433921a.tar.bz2 slibc-4198b4d2092cbe1204a071185795621e2433921a.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r-- | src/unistd/searchpath.c | 2 | ||||
-rw-r--r-- | src/unistd/searchpath2.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/unistd/searchpath.c b/src/unistd/searchpath.c index bfcffba..37a0042 100644 --- a/src/unistd/searchpath.c +++ b/src/unistd/searchpath.c @@ -50,6 +50,6 @@ */ char* searchpath(const char* name) { - return searchpath3(name, "", NULL); + return searchpath3(name, "", ""); } diff --git a/src/unistd/searchpath2.c b/src/unistd/searchpath2.c index b2dd800..02b9cde 100644 --- a/src/unistd/searchpath2.c +++ b/src/unistd/searchpath2.c @@ -57,6 +57,6 @@ */ char* searchpath2(const char* name, const char* fallback) { - return searchpath3(name, fallback, NULL); + return searchpath3(name, fallback, ""); } |