diff --git a/examples/ioat/perf/perf.c b/examples/ioat/perf/perf.c index 92c4f9504..125de094a 100644 --- a/examples/ioat/perf/perf.c +++ b/examples/ioat/perf/perf.c @@ -205,7 +205,7 @@ cleanup: if (err != 0) { ioat_exit(); } - return 0; + return err; } static void diff --git a/examples/ioat/verify/verify.c b/examples/ioat/verify/verify.c index dcf4ff02e..75fc5ccc5 100644 --- a/examples/ioat/verify/verify.c +++ b/examples/ioat/verify/verify.c @@ -262,7 +262,7 @@ cleanup: if (err != 0) { ioat_exit(); } - return 0; + return err; } static void