diff options
-rw-r--r-- | src/trex_watchdog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trex_watchdog.cpp b/src/trex_watchdog.cpp index 79dadb16..c72ce69e 100644 --- a/src/trex_watchdog.cpp +++ b/src/trex_watchdog.cpp @@ -250,8 +250,8 @@ void TrexWatchDog::_main() { /* nothing to do more... the other thread will terminate, but if not - we terminate */ sleep(5); - printf("\n\n*** WATCHDOG violation detected on task '%s' which have failed to response to the signal ***\n\n", monitor->get_name().c_str()); - exit(1); + fprintf(stderr, "\n\n*** WATCHDOG violation detected on task '%s' which have failed to response to the signal ***\n\n", monitor->get_name().c_str()); + abort(); } } |