mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2] net: dns: use correct nameserver var name in error message
@ 2021-05-25  6:21 Antony Pavlov
  2021-05-25  7:12 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2021-05-25  6:21 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 changes 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] 2+ messages in thread

* Re: [PATCH v2] net: dns: use correct nameserver var name in error message
  2021-05-25  6:21 [PATCH v2] net: dns: use correct nameserver var name in error message Antony Pavlov
@ 2021-05-25  7:12 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2021-05-25  7:12 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

On Tue, May 25, 2021 at 09:21:33AM +0300, Antony Pavlov wrote:
> 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 <antonynpavlov@gmail.com>
> ---
>  net/dns.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

-- 
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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-25  7:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25  6:21 [PATCH v2] net: dns: use correct nameserver var name in error message Antony Pavlov
2021-05-25  7:12 ` Sascha Hauer

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