summaryrefslogtreecommitdiff
path: root/module/p11-kit-lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/p11-kit-lib.c')
-rw-r--r--module/p11-kit-lib.c4
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;
}