netmap: minor documentation fix

Also update date of pkt-gen.8 (not done in r366387).

Submitted by:	milosz.kaniewski@gmail.com
MFC after:	3 days
This commit is contained in:
Vincenzo Maffione 2020-10-03 09:36:33 +00:00
parent adf41f0788
commit c97d2c8ae8
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd February 6, 2020 .Dd October 3, 2020
.Dt NETMAP 4 .Dt NETMAP 4
.Os .Os
.Sh NAME .Sh NAME
@ -1052,7 +1052,7 @@ void receiver(void)
for (;;) { for (;;) {
poll(&fds, 1, -1); poll(&fds, 1, -1);
while ( (buf = nm_nextpkt(d, &h)) ) while ( (buf = nm_nextpkt(d, &h)) )
consume_pkt(buf, h->len); consume_pkt(buf, h.len);
} }
nm_close(d); nm_close(d);
} }

View File

@ -25,7 +25,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd October 31, 2018 .Dd October 3, 2020
.Dt PKT-GEN 8 .Dt PKT-GEN 8
.Os .Os
.Sh NAME .Sh NAME