aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-20 18:57:15 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-20 18:57:15 +0100
commit4198b4d2092cbe1204a071185795621e2433921a (patch)
tree96ee33100113eb0ec627eb8c7915d1cbd962c485
parentchange semantics of searchpath2 and add searchpath3 (diff)
downloadslibc-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.c2
-rw-r--r--src/unistd/searchpath2.c2
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, "");
}