Add xgethostbyname and herror_msg* functions.
diff --git a/networking/tftp.c b/networking/tftp.c
index 466851c..bb75c88 100644
--- a/networking/tftp.c
+++ b/networking/tftp.c
@@ -390,15 +390,10 @@
 		s = xstrdup(serverstr);
 		s[cp - serverstr] = '\0';
 
-		if ((host = gethostbyname(s))) {
-			bad = 0;
-		}
+		host = xgethostbyname(s);
 
 		free(s);
 	}
-	if (bad) {
-		error_msg_and_die("bad \"server:file\" combination");
-	}
 
 	if (BB_TFTP_DEBUG) {
 		printf("using server \"%s\", serverfile \"%s\","