summaryrefslogtreecommitdiff
path: root/trust/tests/frob-cert.c
diff options
context:
space:
mode:
Diffstat (limited to 'trust/tests/frob-cert.c')
-rw-r--r--trust/tests/frob-cert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trust/tests/frob-cert.c b/trust/tests/frob-cert.c
index 71018bd..c1bc45c 100644
--- a/trust/tests/frob-cert.c
+++ b/trust/tests/frob-cert.c
@@ -106,7 +106,7 @@ main (int argc,
ret = asn1_create_element (definitions, argv[1], &cert);
err_if_fail (ret, "Certificate");
- map = p11_mmap_open (argv[3], &data, &size);
+ map = p11_mmap_open (argv[3], NULL, &data, &size);
if (map == NULL) {
fprintf (stderr, "couldn't open file: %s\n", argv[3]);
return 1;