aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/usrp_c.cpp')
-rw-r--r--host/lib/usrp/usrp_c.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/usrp_c.cpp b/host/lib/usrp/usrp_c.cpp
index a7dc224c9..1eb52d9af 100644
--- a/host/lib/usrp/usrp_c.cpp
+++ b/host/lib/usrp/usrp_c.cpp
@@ -85,7 +85,7 @@ UHD_SINGLETON_FCN(usrp_ptrs, get_usrp_ptrs);
static boost::mutex _rx_streamer_make_mutex;
uhd_error uhd_rx_streamer_make(uhd_rx_streamer_handle* h){
UHD_SAFE_C(
- boost::mutex::scoped_lock(_rx_streamer_make_mutex);
+ boost::mutex::scoped_lock lock(_rx_streamer_make_mutex);
(*h) = new uhd_rx_streamer;
)
}