libc/netdb: Replace get_errno with errno

and fix the typo error

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I51e2e4dbdb46fea89f4e18a41d99b943b03cedab
This commit is contained in:
Xiang Xiao
2020-03-29 01:08:10 +08:00
committed by patacongo
parent 910ebbf5b0
commit 07c3b16462
8 changed files with 36 additions and 40 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ static struct dns_cache_s g_dns_cache[CONFIG_NETDB_DNSCLIENT_ENTRIES];
* Name: dns_save_answer
*
* Description:
* Same the last resolved hostname in the DNS cache
* Save the last resolved hostname in the DNS cache
*
* Input Parameters:
* hostname - The hostname string to be cached.