summaryrefslogtreecommitdiff
path: root/libbb/xgethostbyname2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xgethostbyname2.c')
-rw-r--r--libbb/xgethostbyname2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xgethostbyname2.c b/libbb/xgethostbyname2.c
index f4cbb6a..3a16ae4 100644
--- a/libbb/xgethostbyname2.c
+++ b/libbb/xgethostbyname2.c
@@ -30,7 +30,7 @@ struct hostent *xgethostbyname2(const char *name, int af)
struct hostent *retval;
if ((retval = gethostbyname2(name, af)) == NULL)
- herror_msg_and_die("%s", name);
+ bb_herror_msg_and_die("%s", name);
return retval;
}