From 171e46cebe9c661246d6e313a40f38822d90bbb7 Mon Sep 17 00:00:00 2001 From: Moritz Fischer Date: Thu, 18 Oct 2012 15:33:07 -0700 Subject: examples & utils: return EXIT_FAILURE and EXIT_SUCCESS respectively instead of 0 and 1. --- host/examples/benchmark_rate.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'host/examples/benchmark_rate.cpp') diff --git a/host/examples/benchmark_rate.cpp b/host/examples/benchmark_rate.cpp index 8a000f6c3..ed3a8580a 100644 --- a/host/examples/benchmark_rate.cpp +++ b/host/examples/benchmark_rate.cpp @@ -25,6 +25,7 @@ #include #include #include +#include namespace po = boost::program_options; @@ -264,5 +265,5 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ //finished std::cout << std::endl << "Done!" << std::endl << std::endl; - return 0; + return EXIT_SUCCESS; } -- cgit v1.2.3