From 7961fc2388211ea2edf8313ef729408acc700dd1 Mon Sep 17 00:00:00 2001 From: Moritz Fischer Date: Mon, 11 Nov 2013 10:52:39 +0100 Subject: BUG #183: Fixed typo Signed-off-by: Moritz Fischer --- host/lib/transport/libusb1_zero_copy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/lib/transport/libusb1_zero_copy.cpp b/host/lib/transport/libusb1_zero_copy.cpp index 7b1de65c3..d269eef68 100644 --- a/host/lib/transport/libusb1_zero_copy.cpp +++ b/host/lib/transport/libusb1_zero_copy.cpp @@ -272,7 +272,7 @@ public: boost::mutex::scoped_lock lock(_mutex); if (_enqueued.empty()) { - _cond.timed_wait(l, boost::posix_time::microseconds(long(timeout*1e6))); + _cond.timed_wait(lock, boost::posix_time::microseconds(long(timeout*1e6))); } if (_enqueued.empty()) return buff; front = _enqueued.front(); -- cgit v1.2.3