From 3a3648e3a56712261bda4fa866bd2419a740cec8 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Wed, 5 Jun 2019 16:14:38 +0200 Subject: [PATCH] tests: Use synced output for error in run-threaded * tests/run-threaded.c (do_data_op): Use synced out macro. --- tests/run-threaded.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run-threaded.c b/tests/run-threaded.c index 60402c13..8a1c666e 100644 --- a/tests/run-threaded.c +++ b/tests/run-threaded.c @@ -504,8 +504,8 @@ do_data_op (void *file_name) } default: { - fprintf (stderr, "Unhandled data type 0x%x for '%s'", type, fname); - exit(1); + out ("Unhandled data type 0x%x for '%s'\n", type, fname); + errpoint; } }