Module Name:    src
Committed By:   dholland
Date:           Sun Feb 13 05:51:25 UTC 2011

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

Log Message:
fix typo (clean up the rx list on failure setting it up, not the tx list)
from openbsd -r1.75, mentioned by Alexander Nasonov in PR 42667


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/usb/if_rum.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_rum.c
diff -u src/sys/dev/usb/if_rum.c:1.33 src/sys/dev/usb/if_rum.c:1.34
--- src/sys/dev/usb/if_rum.c:1.33	Wed Nov  3 22:28:31 2010
+++ src/sys/dev/usb/if_rum.c	Sun Feb 13 05:51:24 2011
@@ -1,5 +1,5 @@
 /*	$OpenBSD: if_rum.c,v 1.40 2006/09/18 16:20:20 damien Exp $	*/
-/*	$NetBSD: if_rum.c,v 1.33 2010/11/03 22:28:31 dyoung Exp $	*/
+/*	$NetBSD: if_rum.c,v 1.34 2011/02/13 05:51:24 dholland Exp $	*/
 
 /*-
  * Copyright (c) 2005-2007 Damien Bergamini <damien.bergam...@free.fr>
@@ -24,7 +24,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_rum.c,v 1.33 2010/11/03 22:28:31 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_rum.c,v 1.34 2011/02/13 05:51:24 dholland Exp $");
 
 
 #include <sys/param.h>
@@ -634,7 +634,7 @@
 
 	return 0;
 
-fail:	rum_free_tx_list(sc);
+fail:	rum_free_rx_list(sc);
 	return error;
 }
 

Reply via email to