fix printf warning
[oweals/busybox.git] / libbb / xgethostbyname.c
index be56f2ed1d61fc9ee692d8c34dfb077fec797b96..6b2dff7113a43c54f1892bcfa5e4b28be4d517b2 100644 (file)
@@ -2,7 +2,6 @@
 /*
  * Mini xgethostbyname implementation.
  *
- *
  * Copyright (C) 2001 Matt Kraai <kraai@alumni.carnegiemellon.edu>.
  *
  * This program is free software; you can redistribute it and/or modify
@@ -30,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;
 }