summaryrefslogtreecommitdiffhomepage
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 89d0329cc..9446daba7 100644
--- a/libbb/xgethostbyname.c
+++ b/libbb/xgethostbyname.c
@@ -12,6 +12,6 @@ struct hostent* FAST_FUNC xgethostbyname(const char *name)
{
struct hostent *retval = gethostbyname(name);
if (!retval)
- bb_herror_msg_and_die("%s", name);
+ bb_simple_herror_msg_and_die(name);
return retval;
}