From 78420e31a260353b1c34ca019c0c8cabd292cca6 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 18 May 2010 17:11:00 +0200 Subject: better error message --- tests/library/test_loader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/library/test_loader.c b/tests/library/test_loader.c index f6f78dd..46d2ad0 100644 --- a/tests/library/test_loader.c +++ b/tests/library/test_loader.c @@ -27,8 +27,8 @@ int main( void ) { library = wolf_library_load( "testlib.so", &error ); if( error != WOLF_OK ) { - fprintf( stderr, "Error loading the library: %s (%d)\n", - wolf_libary_errmsg( error, library, errbuf, 512 ), error ); + fprintf( stderr, "Error %d loading the library: %s\n", + error, wolf_libary_errmsg( error, library, errbuf, 512 ) ); return EXIT_FAILURE; } -- cgit v1.2.3-54-g00ecf