summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-05-18 17:11:00 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-05-18 17:11:00 +0200
commit78420e31a260353b1c34ca019c0c8cabd292cca6 (patch)
treece99cfc14b8e906ab625fa0524de67d8a9c86018 /tests
parentb1a673c0a7ab8669e5c814979ab07b893efd9d50 (diff)
downloadwolfbones-78420e31a260353b1c34ca019c0c8cabd292cca6.tar.gz
wolfbones-78420e31a260353b1c34ca019c0c8cabd292cca6.tar.bz2
better error message
Diffstat (limited to 'tests')
-rw-r--r--tests/library/test_loader.c4
1 files changed, 2 insertions, 2 deletions
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;
}