diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-12-21 17:34:34 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-12-21 17:34:34 +0000 |
commit | 4dc4b0615b53eb47764bc39ccef427bea6667c4e (patch) | |
tree | 5d337d4f055c3bd362e75aae73a5b4871b6b2956 /lib/libc/net/getnameinfo.3 | |
parent | fcf3598d1432173647a1b38fa705e1a572173c5d (diff) |
mdoc prefers `\e' as an escape character.
Diffstat (limited to 'lib/libc/net/getnameinfo.3')
-rw-r--r-- | lib/libc/net/getnameinfo.3 | 6 |
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 |