diff options
author | Stef Walter <stefw@collabora.co.uk> | 2011-02-18 10:53:07 +0100 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-02-18 10:53:07 +0100 |
commit | 65509aa3a7c35d8bd5a947ca87c14d4de11deb21 (patch) | |
tree | 7595460333f5ea588f69a85035edf418bb2f8d3b /module/p11-kit-lib.c | |
parent | 5cc83571c3e0e212f4d84b05bb15088409d9c752 (diff) |
Add p11_kit_strerror() method and internationalization.
Diffstat (limited to 'module/p11-kit-lib.c')
-rw-r--r-- | module/p11-kit-lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/p11-kit-lib.c b/module/p11-kit-lib.c index 926de90..ae88703 100644 --- a/module/p11-kit-lib.c +++ b/module/p11-kit-lib.c @@ -222,8 +222,8 @@ load_module_from_config_unlocked (const char *configfile, const char *name) rv = gfl (&module->funcs); if (rv != CKR_OK) { - warning ("call to C_GetFunctiontList failed in module: %s: %lu", - path, (unsigned long)rv); + warning ("call to C_GetFunctiontList failed in module: %s: %s", + path, p11_kit_strerror (rv)); free_module_unlocked (module); return rv; } |