aboutsummaryrefslogtreecommitdiffstats
path: root/src/unistd/searchpath.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-20 18:51:19 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-20 18:51:19 +0100
commit613c7c10dca07571a57dc608754e181ab6754e5f (patch)
tree49650e222728b8244a2462c515e50243e782f394 /src/unistd/searchpath.c
parentadd searchpath and searchpath2 (diff)
downloadslibc-613c7c10dca07571a57dc608754e181ab6754e5f.tar.gz
slibc-613c7c10dca07571a57dc608754e181ab6754e5f.tar.bz2
slibc-613c7c10dca07571a57dc608754e181ab6754e5f.tar.xz
change semantics of searchpath2 and add searchpath3
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src/unistd/searchpath.c')
-rw-r--r--src/unistd/searchpath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/searchpath.c b/src/unistd/searchpath.c
index 84bc58e..bfcffba 100644
--- a/src/unistd/searchpath.c
+++ b/src/unistd/searchpath.c
@@ -50,6 +50,6 @@
*/
char* searchpath(const char* name)
{
- return searchpath2(name, "");
+ return searchpath3(name, "", NULL);
}