Commit e6748f4c authored by Pietro Fezzardi's avatar Pietro Fezzardi

wrs-time.c: changed exit(-1) to exit(1)

parent 8126efa2
...@@ -29,7 +29,7 @@ int wrs_adjust_counters(int64_t adjust_sec, int32_t adjust_nsec) ...@@ -29,7 +29,7 @@ int wrs_adjust_counters(int64_t adjust_sec, int32_t adjust_nsec)
if (adjust_sec && adjust_nsec) { if (adjust_sec && adjust_nsec) {
pp_printf("FATAL: trying to adjust both the SEC and the NS" pp_printf("FATAL: trying to adjust both the SEC and the NS"
" counters simultaneously. \n"); " counters simultaneously. \n");
exit(-1); exit(1);
} }
p.adjust_sec = adjust_sec; p.adjust_sec = adjust_sec;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment