Commit 40288459 authored by Pietro Fezzardi's avatar Pietro Fezzardi Committed by Alessandro Rubini

time-sim: changed exit(-1) to exit(1)

parent b98cd522
...@@ -37,7 +37,7 @@ int sim_fast_forward_ns(struct pp_globals *ppg, int64_t ff_ns) ...@@ -37,7 +37,7 @@ int sim_fast_forward_ns(struct pp_globals *ppg, int64_t ff_ns)
if (pkt->delay_ns < 0) { if (pkt->delay_ns < 0) {
pp_error("pkt->delay_ns = %lli\n", pp_error("pkt->delay_ns = %lli\n",
(long long)pkt->delay_ns); (long long)pkt->delay_ns);
exit(-1); exit(1);
} }
} }
} }
......
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