diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2010-05-18 17:11:00 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2010-05-18 17:11:00 +0200 |
commit | 78420e31a260353b1c34ca019c0c8cabd292cca6 (patch) | |
tree | ce99cfc14b8e906ab625fa0524de67d8a9c86018 /tests | |
parent | b1a673c0a7ab8669e5c814979ab07b893efd9d50 (diff) | |
download | wolfbones-78420e31a260353b1c34ca019c0c8cabd292cca6.tar.gz wolfbones-78420e31a260353b1c34ca019c0c8cabd292cca6.tar.bz2 |
better error message
Diffstat (limited to 'tests')
-rw-r--r-- | tests/library/test_loader.c | 4 |
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; } |