summaryrefslogtreecommitdiff
path: root/share/man/man4/pf.4
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-03-25 21:27:14 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-03-25 21:27:14 +0000
commit7b68292916de8c4eca8a13c6aa756f093a881c90 (patch)
treeea9f6e69bf88473cdff8ce33cd57dddbf3f0b808 /share/man/man4/pf.4
parent5a3efff85dd9072921bc2c3598ca806d448da487 (diff)
The "\\" escape sequence is low-level roff, don't use it in mdoc(7);
instead, use "\e". This patch does not change rendering with (g)roff, but it lets mandoc render the page correctly. ok jmc@
Diffstat (limited to 'share/man/man4/pf.4')
-rw-r--r--share/man/man4/pf.410
1 files changed, 5 insertions, 5 deletions
diff --git a/share/man/man4/pf.4 b/share/man/man4/pf.4
index 355da443fa9..f229b624595 100644
--- a/share/man/man4/pf.4
+++ b/share/man/man4/pf.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pf.4,v 1.69 2010/03/23 02:43:50 sthen Exp $
+.\" $OpenBSD: pf.4,v 1.70 2010/03/25 21:27:13 schwarze Exp $
.\"
.\" Copyright (C) 2001, Kjell Wooding. All rights reserved.
.\"
@@ -26,7 +26,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 23 2010 $
+.Dd $Mdocdate: March 25 2010 $
.Dt PF 4
.Os
.Sh NAME
@@ -1019,14 +1019,14 @@ main(int argc, char *argv[])
int dev;
if (argc != 5) {
- printf("%s <gwy addr> <gwy port> <ext addr> <ext port>\\n",
+ printf("%s <gwy addr> <gwy port> <ext addr> <ext port>\en",
argv[0]);
return 1;
}
dev = open("/dev/pf", O_RDWR);
if (dev == -1)
- err(1, "open(\\"/dev/pf\\") failed");
+ err(1, "open(\e"/dev/pf\e") failed");
memset(&nl, 0, sizeof(struct pfioc_natlook));
nl.saddr.v4.s_addr = read_address(argv[1]);
@@ -1042,7 +1042,7 @@ main(int argc, char *argv[])
printf("internal host ");
print_address(nl.rsaddr.v4.s_addr);
- printf(":%u\\n", ntohs(nl.rsport));
+ printf(":%u\en", ntohs(nl.rsport));
return 0;
}
.Ed