Re: patch: minor tyop in if_jme

2019-03-29 Thread Stuart Henderson
On 2019/03/29 15:12, leo_...@volny.cz wrote:
> [not currently subscribed, please Cc, thanks.]
> 
> Yes, despite the reservation in the comment above the code with the
> tyop, the offending condition is indeed triggered on this
> particularly cheap craptop. Figuring that out is a separate
> matter...

thanks, typo fixed.

>  --zeurkous.
> 
> Index: src/sys/dev/pci/if_jme.c
> ===
> RCS file: /cvs/src/sys/dev/pci/if_jme.c,v
> retrieving revision 1.50
> diff -u -p -r1.50 if_jme.c
> --- src/sys/dev/pci/if_jme.c  8 Sep 2017 05:36:52 -   1.50
> +++ src/sys/dev/pci/if_jme.c  29 Mar 2019 13:57:36 -
> @@ -1738,7 +1738,7 @@ jme_rxeof(struct jme_softc *sc)
>   pktlen = JME_RX_BYTES(letoh32(desc->buflen));
>   if (nsegs != howmany(pktlen, MCLBYTES)) {
>   printf("%s: RX fragment count(%d) "
> - "and packet size(%d) mismach\n",
> + "and packet size(%d) mismatch\n",
>sc->sc_dev.dv_xname, nsegs, pktlen);
>   break;
>   }
> 
> -- 
> Friggin' Machines!
> 



patch: minor tyop in if_jme

2019-03-29 Thread leo_tck
[not currently subscribed, please Cc, thanks.]

Yes, despite the reservation in the comment above the code with the
tyop, the offending condition is indeed triggered on this
particularly cheap craptop. Figuring that out is a separate
matter...

 --zeurkous.

Index: src/sys/dev/pci/if_jme.c
===
RCS file: /cvs/src/sys/dev/pci/if_jme.c,v
retrieving revision 1.50
diff -u -p -r1.50 if_jme.c
--- src/sys/dev/pci/if_jme.c8 Sep 2017 05:36:52 -   1.50
+++ src/sys/dev/pci/if_jme.c29 Mar 2019 13:57:36 -
@@ -1738,7 +1738,7 @@ jme_rxeof(struct jme_softc *sc)
pktlen = JME_RX_BYTES(letoh32(desc->buflen));
if (nsegs != howmany(pktlen, MCLBYTES)) {
printf("%s: RX fragment count(%d) "
-   "and packet size(%d) mismach\n",
+   "and packet size(%d) mismatch\n",
 sc->sc_dev.dv_xname, nsegs, pktlen);
break;
}

-- 
Friggin' Machines!