From d1f7e7b8c8aa17880260a5b5bf81ab19e1ee5c05 Mon Sep 17 00:00:00 2001 From: vtarasov Date: Mon, 17 Jan 2011 16:52:04 +0000 Subject: [PATCH] pkcs15init: profile: little fix of the previous commit git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5102 c6295689-39f2-0310-b995-f0e70906c6a9 --- src/pkcs15init/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkcs15init/profile.c b/src/pkcs15init/profile.c index fcddddc9..a789cbdc 100644 --- a/src/pkcs15init/profile.c +++ b/src/pkcs15init/profile.c @@ -2366,7 +2366,7 @@ parse_error(struct state *cur, const char *fmt, ...) *sp = '\0'; if (cur->profile->card && cur->profile->card->ctx) - sc_log(ctx, "%s: %s", cur->filename, buffer); + sc_log(cur->profile->card->ctx, "%s: %s", cur->filename, buffer); else fprintf(stdout, "%s: %s\n", cur->filename, buffer); }