aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2008-07-30 00:38:10 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2008-07-30 00:38:10 +0000
commitc42c1722560a9f795a9b3dbaa77b1c89ea95d640 (patch)
tree84a3e4ae1d1f172a6b058c8b6ad763391e096ba7 /sys/dev
parent2a6d272c1070dc91787ab2d9d709c7533cc2a4f9 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_rum.c2
-rw-r--r--sys/dev/usb/if_ural.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/if_rum.c b/sys/dev/usb/if_rum.c
index 91d9b9c93cf9..48b738d5fa29 100644
--- a/sys/dev/usb/if_rum.c
+++ b/sys/dev/usb/if_rum.c
@@ -726,7 +726,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;
}
diff --git a/sys/dev/usb/if_ural.c b/sys/dev/usb/if_ural.c
index 1205dd1cf6e7..5415492b3e81 100644
--- a/sys/dev/usb/if_ural.c
+++ b/sys/dev/usb/if_ural.c
@@ -711,7 +711,7 @@ ural_alloc_rx_list(struct ural_softc *sc)
return 0;
-fail: ural_free_tx_list(sc);
+fail: ural_free_rx_list(sc);
return error;
}