aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-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 e97be2abe..4f2ed8c65 100644
--- a/host/lib/usrp/usrp_c.cpp
+++ b/host/lib/usrp/usrp_c.cpp
@@ -157,7 +157,7 @@ uhd_error uhd_rx_streamer_last_error(
char* error_out,
size_t strbuffer_len
){
- UHD_SAFE_C_SAVE_ERROR(h,
+ UHD_SAFE_C(
memset(error_out, '\0', strbuffer_len);
strncpy(error_out, h->last_error.c_str(), strbuffer_len);
)