summaryrefslogtreecommitdiffstats
path: root/source3/utils/nmblookup.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-11-02 12:05:17 -0700
committerJeremy Allison <jra@samba.org>2007-11-02 12:05:17 -0700
commitb04312b75dc6301e8dbbe4cc3024c4300092b92f (patch)
tree3686e1449750d62c7c05f4e80b1a8ca0fabf7d90 /source3/utils/nmblookup.c
parent414ab2ce46dd62d0119f03eca93783bc489af896 (diff)
downloadsamba-b04312b75dc6301e8dbbe4cc3024c4300092b92f.tar.gz
samba-b04312b75dc6301e8dbbe4cc3024c4300092b92f.tar.xz
samba-b04312b75dc6301e8dbbe4cc3024c4300092b92f.zip
Forgot one more getnameinfo.
Jeremy. (This used to be commit 619e33248d12e764e902e4fdb5fb223cb9cfea3b)
Diffstat (limited to 'source3/utils/nmblookup.c')
-rw-r--r--source3/utils/nmblookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index 7293e363c49..17fbd485aec 100644
--- a/source3/utils/nmblookup.c
+++ b/source3/utils/nmblookup.c
@@ -199,7 +199,7 @@ static bool query_one(const char *lookup, unsigned int lookup_type)
if (translate_addresses) {
char h_name[HOST_NAME_MAX];
h_name[0] = '\0';
- if (getnameinfo((const struct sockaddr *)&ip_list[j],
+ if (sys_getnameinfo((const struct sockaddr *)&ip_list[j],
sizeof(struct sockaddr_storage),
h_name, sizeof(h_name),
NULL, 0,