From 65509aa3a7c35d8bd5a947ca87c14d4de11deb21 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 18 Feb 2011 10:53:07 +0100 Subject: Add p11_kit_strerror() method and internationalization. --- module/p11-kit-lib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/p11-kit-lib.c') 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; } -- cgit v1.2.3