aboutsummaryrefslogtreecommitdiffstats
path: root/src/unistd/searchpath2.c
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 /src/unistd/searchpath2.c
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>
Diffstat (limited to '')
-rw-r--r--src/unistd/searchpath2.c2
1 files changed, 1 insertions, 1 deletions
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, "");
}