From 9a6d92123002c2a249777f5a252e8b82fd3e9a41 Mon Sep 17 00:00:00 2001 From: Tommi Rantala Date: Fri, 3 Aug 2012 16:40:27 +0300 Subject: [PATCH] Fix plain return from main() in tests/test-async-sig.c test-async-sig.c: In function 'main': test-async-sig.c:185:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] --- tests/test-async-sig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-async-sig.c b/tests/test-async-sig.c index 296d58dc..ba37c904 100644 --- a/tests/test-async-sig.c +++ b/tests/test-async-sig.c @@ -182,7 +182,7 @@ main (int argc, char **argv __attribute__((unused))) do_backtrace (0, (i++ % 100) == 0); if (nerrors > nerrors_max) { - panic ("Too many errors (%d)\n", nerrors); + fprintf (stderr, "Too many errors (%d)\n", nerrors); exit (-1); } }