diff options
author | 2000-12-21 17:34:33 +0000 | |
---|---|---|
committer | 2000-12-21 17:34:33 +0000 | |
commit | b1ed380f9b78af418386828ac6ff69602d04cb4f (patch) | |
tree | daa3ee49096ac1404d5368c382e31a802023a8c3 /lib/libc | |
parent | typo; initalized -> initialized (diff) | |
download | wireguard-openbsd-b1ed380f9b78af418386828ac6ff69602d04cb4f.tar.xz wireguard-openbsd-b1ed380f9b78af418386828ac6ff69602d04cb4f.zip |
mdoc prefers `\e' as an escape character.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/hash/rmd160.3 | 4 | ||||
-rw-r--r-- | lib/libc/hash/sha1.3 | 4 | ||||
-rw-r--r-- | lib/libc/net/getnameinfo.3 | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/hash/rmd160.3 b/lib/libc/hash/rmd160.3 index 38ce2f64261..f40538f3d60 100644 --- a/lib/libc/hash/rmd160.3 +++ b/lib/libc/hash/rmd160.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rmd160.3,v 1.12 2000/04/18 03:01:29 aaron Exp $ +.\" $OpenBSD: rmd160.3,v 1.13 2000/12/21 17:34:33 aaron Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -172,7 +172,7 @@ RMD160Final(results, &rmd); printf("0x"); for (n = 0; n < 20; n++) printf("%02x", results[n]); -putchar('\\n'); +putchar('\en'); .Ed .Pp Alternately, the helper functions could be used in the following way: diff --git a/lib/libc/hash/sha1.3 b/lib/libc/hash/sha1.3 index 0ed67a75f97..d453cc15d4e 100644 --- a/lib/libc/hash/sha1.3 +++ b/lib/libc/hash/sha1.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sha1.3,v 1.18 2000/04/18 03:01:29 aaron Exp $ +.\" $OpenBSD: sha1.3,v 1.19 2000/12/21 17:34:33 aaron Exp $ .\" .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -168,7 +168,7 @@ SHA1Final(results, &sha); printf("0x"); for (n = 0; n < 20; n++) printf("%02x", results[n]); -putchar('\\n'); +putchar('\en'); .Ed .Pp Alternately, the helper functions could be used in the following way: 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 |