Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb fix typo (clean up the rx list on failure settin...
details: https://anonhg.NetBSD.org/src/rev/c4121a252bc9
branches: trunk
changeset: 762015:c4121a252bc9
user: dholland <dholland%NetBSD.org@localhost>
date: Sun Feb 13 05:51:24 2011 +0000
description:
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:
sys/dev/usb/if_rum.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 4d282343e07b -r c4121a252bc9 sys/dev/usb/if_rum.c
--- a/sys/dev/usb/if_rum.c Sun Feb 13 05:45:47 2011 +0000
+++ b/sys/dev/usb/if_rum.c Sun Feb 13 05:51:24 2011 +0000
@@ -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@localhost>
@@ -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;
}
Home |
Main Index |
Thread Index |
Old Index