summaryrefslogtreecommitdiff
path: root/libbb/xgethostbyname.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xgethostbyname.c')
-rw-r--r--libbb/xgethostbyname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xgethostbyname.c b/libbb/xgethostbyname.c
index b719797..6b2dff7 100644
--- a/libbb/xgethostbyname.c
+++ b/libbb/xgethostbyname.c
@@ -29,7 +29,7 @@ struct hostent *xgethostbyname(const char *name)
struct hostent *retval;
if ((retval = gethostbyname(name)) == NULL)
- herror_msg_and_die("%s", name);
+ bb_herror_msg_and_die("%s", name);
return retval;
}