summaryrefslogtreecommitdiff
path: root/trust/token.c
diff options
context:
space:
mode:
Diffstat (limited to 'trust/token.c')
-rw-r--r--trust/token.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/token.c b/trust/token.c
index 1336443..4e7c631 100644
--- a/trust/token.c
+++ b/trust/token.c
@@ -226,7 +226,7 @@ loader_load_if_file (p11_token *token,
if (stat (path, &sb) < 0) {
if (errno != ENOENT)
- p11_message_err (errno, "couldn't stat path: %s", path);
+ p11_message_err (errno, "couldn't stat path: %d: %s", errno, path);
} else if (!S_ISDIR (sb.st_mode)) {
return loader_load_file (token, path, &sb);