mirror of
https://github.com/pmmp/musl-cross-make.git
synced 2025-02-24 09:35:00 +00:00
14 lines
496 B
Diff
14 lines
496 B
Diff
diff --git a/src/network/resolvconf.c b/src/network/resolvconf.c
|
|
index ceabf08..8de9c8b 100644
|
|
--- a/src/network/resolvconf.c
|
|
+++ b/src/network/resolvconf.c
|
|
@@ -18,7 +18,7 @@ int __get_resolv_conf(struct resolvconf *conf, char *search, size_t search_sz)
|
|
conf->attempts = 2;
|
|
if (search) *search = 0;
|
|
|
|
- f = __fopen_rb_ca("/etc/resolv.conf", &_f, _buf, sizeof _buf);
|
|
+ f = __fopen_rb_ca("/sdcard/resolv.conf", &_f, _buf, sizeof _buf);
|
|
if (!f) switch (errno) {
|
|
case ENOENT:
|
|
case ENOTDIR:
|