aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-11-17 09:17:02 -0800
committerMartin Braun <martin.braun@ettus.com>2015-11-17 09:17:02 -0800
commit36c8e0f81addfc38441dad6bbd56e8f60574ba4d (patch)
tree214f65cb4dd3ecd893c8eb8f812ff32a3171cf7c /host
parent788948b97edb61f637bb5905306dd01d3461ce01 (diff)
downloaduhd-36c8e0f81addfc38441dad6bbd56e8f60574ba4d.tar.gz
uhd-36c8e0f81addfc38441dad6bbd56e8f60574ba4d.tar.bz2
uhd-36c8e0f81addfc38441dad6bbd56e8f60574ba4d.zip
examples: Fixed error code variable in rx_samples_c
Diffstat (limited to 'host')
-rw-r--r--host/examples/rx_samples_c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/examples/rx_samples_c.c b/host/examples/rx_samples_c.c
index abea812fe..0ecb89153 100644
--- a/host/examples/rx_samples_c.c
+++ b/host/examples/rx_samples_c.c
@@ -222,7 +222,7 @@ int main(int argc, char* argv[])
EXECUTE_OR_GOTO(close_file,
uhd_rx_metadata_error_code(md, &error_code)
)
- if(return_code != UHD_RX_METADATA_ERROR_CODE_NONE){
+ if(error_code != UHD_RX_METADATA_ERROR_CODE_NONE){
fprintf(stderr, "Error code 0x%x was returned during streaming. Aborting.\n", return_code);
goto close_file;
}