Module Name:    src
Committed By:   hannken
Date:           Sun Aug 11 13:16:10 UTC 2019

Modified Files:
        src/sys/dev/usb: if_urndis.c

Log Message:
urndis_attach: change "sc->sc_bulkout_no" to "un->un_ed[USBNET_ENDPT_TX]"
in DPRINTF().

Kernels ALL/amd64 and ALL/i386 compile again.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/usb/if_urndis.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/if_urndis.c
diff -u src/sys/dev/usb/if_urndis.c:1.27 src/sys/dev/usb/if_urndis.c:1.28
--- src/sys/dev/usb/if_urndis.c:1.27	Sat Aug 10 02:17:36 2019
+++ src/sys/dev/usb/if_urndis.c	Sun Aug 11 13:16:10 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_urndis.c,v 1.27 2019/08/10 02:17:36 mrg Exp $ */
+/*	$NetBSD: if_urndis.c,v 1.28 2019/08/11 13:16:10 hannken Exp $ */
 /*	$OpenBSD: if_urndis.c,v 1.31 2011/07/03 15:47:17 matthew Exp $ */
 
 /*
@@ -21,7 +21,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_urndis.c,v 1.27 2019/08/10 02:17:36 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_urndis.c,v 1.28 2019/08/11 13:16:10 hannken Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1032,7 +1032,7 @@ urndis_attach(device_t parent, device_t 
 			DPRINTF(("%s: in=0x%x, out=0x%x\n",
 			    DEVNAME(un),
 			    un->un_ed[USBNET_ENDPT_RX],
-			    sc->sc_bulkout_no));
+			    un->un_ed[USBNET_ENDPT_TX]));
 			break;
 		}
 	}

Reply via email to