summaryrefslogtreecommitdiff
path: root/trust/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'trust/parser.c')
-rw-r--r--trust/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/parser.c b/trust/parser.c
index b433508..4129cc0 100644
--- a/trust/parser.c
+++ b/trust/parser.c
@@ -760,7 +760,7 @@ p11_parse_file (p11_parser *parser,
map = p11_mmap_open (filename, &data, &size);
if (map == NULL) {
- p11_message ("couldn't open and map file: %s: %s", filename, strerror (errno));
+ p11_message_err (errno, "couldn't open and map file: %s", filename);
return P11_PARSE_FAILURE;
}