aboutsummaryrefslogtreecommitdiffstats
path: root/src/unistd
diff options
context:
space:
mode:
Diffstat (limited to '')
-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, "");
}