diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/library/loader.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/library/loader.c b/src/library/loader.c index 530715b..912afa4 100644 --- a/src/library/loader.c +++ b/src/library/loader.c @@ -78,11 +78,10 @@ wolf_error_t wolf_library_unload( wolf_library_p l ) { return WOLF_OK; } -char *wolf_libary_errmsg( const wolf_error_t error, const wolf_library_p library, char *buf, size_t buflen ) { - WOLF_UNUSED( error ); +char *wolf_libary_errmsg( const wolf_error_t error, const wolf_library_p library, char *buf, size_t buflen ) { WOLF_UNUSED( library ); - WOLF_UNUSED( buf ); - WOLF_UNUSED( buflen ); + (void)wolf_error_msg( error, buf, buflen ); + #if 0 switch( error ) { /* TODO: we repeat ourself here! Have a function in errors.h for generic mapping? */ |