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
This commit is contained in:
vtarasov 2011-01-17 16:52:04 +00:00
parent 2adfa05ac8
commit d1f7e7b8c8
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}