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:
parent
2adfa05ac8
commit
d1f7e7b8c8
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue