summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2011-02-13 05:51:24 +0000
committerdholland <dholland@NetBSD.org>2011-02-13 05:51:24 +0000
commit52eb040a789874b9aaffb03bb8ea77c7738ae2cd (patch)
tree5eb7c4652884d6e3b17fddda874a6a557d94ef3c /sys/dev
parentba5a158022d8f44e876756d0f55c75ba8a93395d (diff)
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
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_rum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_rum.c b/sys/dev/usb/if_rum.c
index 5b6858ad315..dca6ac6693d 100644
--- a/sys/dev/usb/if_rum.c
+++ b/sys/dev/usb/if_rum.c
@@ -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.bergamini@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 @@ rum_alloc_rx_list(struct rum_softc *sc)
return 0;
-fail: rum_free_tx_list(sc);
+fail: rum_free_rx_list(sc);
return error;
}