blob: ae89bacdb9782ee64bce93f366cf725924c7bf9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-bg,v 1.1.1.1 2001/11/15 23:21:31 taca Exp $
--- yatd/tcplib.c.orig Fri Jun 22 20:05:49 2001
+++ yatd/tcplib.c
@@ -71,7 +71,7 @@
if ((pHent=gethostbyaddr((char *)&(pSck->inAddr), sizeof (struct in_addr),
AF_INET)) == NULL) {
- WARNING(ERRYS_DUMMY, 0, "gethostbyaddr(%d) failed", pszHost);
+ WARNING(ERRYS_DUMMY, 0, "gethostbyaddr(%s) failed", pszHost);
pSck->pszHost = NULL;
}
else if ((pSck->pszHost = strdup(pHent->h_name)) == NULL) {
|