Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Correct nonsense message in KASSERTMSG.



details:   https://anonhg.NetBSD.org/src/rev/ced6607dc35a
branches:  trunk
changeset: 433471:ced6607dc35a
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Sep 16 01:44:11 2018 +0000

description:
Correct nonsense message in KASSERTMSG.

diffstat:

 sys/dev/usb/if_mue.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 854aaa1374eb -r ced6607dc35a sys/dev/usb/if_mue.c
--- a/sys/dev/usb/if_mue.c      Sun Sep 16 01:41:28 2018 +0000
+++ b/sys/dev/usb/if_mue.c      Sun Sep 16 01:44:11 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_mue.c,v 1.15 2018/09/16 01:41:28 rin Exp $  */
+/*     $NetBSD: if_mue.c,v 1.16 2018/09/16 01:44:11 rin Exp $  */
 /*     $OpenBSD: if_mue.c,v 1.3 2018/08/04 16:42:46 jsg Exp $  */
 
 /*
@@ -20,7 +20,7 @@
 /* Driver for Microchip LAN7500/LAN7800 chipsets. */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_mue.c,v 1.15 2018/09/16 01:41:28 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_mue.c,v 1.16 2018/09/16 01:44:11 rin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1443,7 +1443,7 @@
 
        usbd_get_xfer_status(xfer, NULL, NULL, &totlen, NULL);
 
-       KASSERTMSG(totlen <= sc->mue_rxbufsz, "%u <= %u",
+       KASSERTMSG(totlen <= sc->mue_rxbufsz, "%u vs %u",
            totlen, sc->mue_rxbufsz);
 
        do {



Home | Main Index | Thread Index | Old Index