net: dns: use correct nameserver var name in error message
PATCH v2 1/1 net: dns: use correct nameserver var name in error message
The commit d5d342d26368c1 ("net: Make domainname and nameserver globalvars") changes net.nameserver variable name to global.net.nameserver. This commit changes the variable name in the error message too.
Signed-off-by Antony Pavlov <[email protected]>
--- net/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/dns.c +1 -1
@@ -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 ; }
Signature · 7 lines
2.31.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 8 lines · Antony Pavlov
The commit
d5d342d26368c1("net: Make domainname and nameserver globalvars") changes net.nameserver variable name to global.net.nameserver. This commit changes the variable name in the error message too.Signed-off-by Antony Pavlov <[email protected]>--- net/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
Signature · 9 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox