summaryrefslogtreecommitdiff
path: root/lib/libc/net/getnameinfo.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/getnameinfo.3')
-rw-r--r--lib/libc/net/getnameinfo.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/getnameinfo.3 b/lib/libc/net/getnameinfo.3
index 0f52f6e993f..78ffc6e396b 100644
--- a/lib/libc/net/getnameinfo.3
+++ b/lib/libc/net/getnameinfo.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getnameinfo.3,v 1.9 2000/08/09 23:12:04 itojun Exp $
+.\" $OpenBSD: getnameinfo.3,v 1.10 2000/12/21 17:34:33 aaron Exp $
.\" $KAME: getnameinfo.3,v 1.17 2000/08/09 21:16:17 itojun Exp $
.\"
.\" Copyright (c) 1983, 1987, 1991, 1993
@@ -204,7 +204,7 @@ if (getnameinfo(sa, sa->sa_len, hbuf, sizeof(hbuf), sbuf,
errx(1, "could not get numeric hostname");
/*NOTREACHED*/
}
-printf("host=%s, serv=%s\\n", hbuf, sbuf);
+printf("host=%s, serv=%s\en", hbuf, sbuf);
.Ed
.Pp
The following version checks if the socket address has reverse address mapping.
@@ -217,7 +217,7 @@ if (getnameinfo(sa, sa->sa_len, hbuf, sizeof(hbuf), NULL, 0,
errx(1, "could not resolve hostname");
/*NOTREACHED*/
}
-printf("host=%s\\n", hbuf);
+printf("host=%s\en", hbuf);
.Ed
.\"
.Sh FILES