summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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;
}