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/test_pps_input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'host/examples/test_pps_input.cpp') diff --git a/host/examples/test_pps_input.cpp b/host/examples/test_pps_input.cpp index 994b7ca87..c07f2fffd 100644 --- a/host/examples/test_pps_input.cpp +++ b/host/examples/test_pps_input.cpp @@ -58,5 +58,5 @@ int UHD_SAFE_MAIN(int argc, char *argv[]){ std::cout << std::endl << "Attempt to detect the PPS and set the time..." << std::endl << std::endl; usrp->set_time_unknown_pps(uhd::time_spec_t(0.0)); std::cout << std::endl << "Success!" << std::endl << std::endl; - return 0; + return EXIT_SUCCESS; } -- cgit v1.2.3