The branch main has been updated by vmaffione:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=950cf4a29a8e11962cf4672311f685af590c106e

commit 950cf4a29a8e11962cf4672311f685af590c106e
Author:     Vincenzo Maffione <vmaffi...@freebsd.org>
AuthorDate: 2021-06-15 21:33:07 +0000
Commit:     Vincenzo Maffione <vmaffi...@freebsd.org>
CommitDate: 2021-06-15 21:33:07 +0000

    netmap: pkt-gen: fix compilation issue
    
    Remove stray characters preventing the source code from being
    compiled.
    
    Fixes: 20d684ecc9d7 ("pkt-gen: Allow limiting received packets").
    Submitted by:   ar_semihalf.com
    Reviewed by:    vmaffione
    Differential Revision:  <https://reviews.freebsd.org/D###>
---
 tools/tools/netmap/pkt-gen.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/tools/netmap/pkt-gen.c b/tools/tools/netmap/pkt-gen.c
index b24915e150a5..f43469cf7ad6 100644
--- a/tools/tools/netmap/pkt-gen.c
+++ b/tools/tools/netmap/pkt-gen.c
@@ -1844,7 +1844,7 @@ receiver_body(void *data)
        /* main loop, exit after 1s silence */
        clock_gettime(CLOCK_REALTIME_PRECISE, &targ->tic);
     if (targ->g->dev_type == DEV_TAP) {
-       while (!targ->cancel && (n == 0 || targ->ctr.pkts < n)) {) {
+       while (!targ->cancel && (n == 0 || targ->ctr.pkts < n)) {
                char buf[MAX_BODYSIZE];
                /* XXX should we poll ? */
                i = read(targ->g->main_fd, buf, sizeof(buf));
_______________________________________________
dev-commits-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"

Reply via email to