summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/wins.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nsswitch/wins.c b/nsswitch/wins.c
index 72055f099b6..ddbbb03d844 100644
--- a/nsswitch/wins.c
+++ b/nsswitch/wins.c
@@ -69,6 +69,7 @@ static char *lookup_byname_backend(const char *name)
return NULL;
}
+ wbcSetClientProcessName("nss_wins");
result = wbcResolveWinsByName(name, &ip);
if (result != WBC_ERR_SUCCESS) {
return NULL;
@@ -89,6 +90,7 @@ static char *lookup_byaddr_backend(const char *ip)
wbcErr result;
char *name = NULL;
+ wbcSetClientProcessName("nss_wins");
result = wbcResolveWinsByIP(ip, &name);
if (result != WBC_ERR_SUCCESS) {
return NULL;