mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] net: dns: user corrent nameserver var name in error message
@ 2021-05-25  6:20 Antony Pavlov
  0 siblings, 0 replies; only message in thread
From: Antony Pavlov @ 2021-05-25  6:20 UTC (permalink / raw)
  To: barebox

The commit d5d342d26368c1 ("net: Make domainname and nameserver globalvars")
changes net.nameserver variable name to global.net.nameserver.
This commit change the variable name in the error message too.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 net/dns.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/dns.c b/net/dns.c
index ffe98ef9e3..78588b96fd 100644
--- a/net/dns.c
+++ b/net/dns.c
@@ -215,7 +215,7 @@ int resolv(const char *host, IPaddr_t *ip)
 
 	nameserver = net_get_nameserver();
 	if (!nameserver) {
-		pr_err("no nameserver specified in $net.nameserver\n");
+		pr_err("no nameserver specified in $global.net.nameserver\n");
 		return 0;
 	}
 
-- 
2.31.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-25  6:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25  6:20 [PATCH] net: dns: user corrent nameserver var name in error message Antony Pavlov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox