Fix a line ordering error.

Thanks to Roland Schwarz

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4194 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
martin 2010-04-01 14:37:33 +00:00
parent d1d47d44c5
commit 5957c7a880
1 changed files with 1 additions and 1 deletions

View File

@ -386,9 +386,9 @@ CK_RV C_SetPIN(CK_SESSION_HANDLE hSession,
goto out;
}
slot = session->slot;
sc_debug(context, SC_LOG_DEBUG_NORMAL, "Changing PIN (session 0x%lx; login user %d)\n", hSession,
slot->login_user);
slot = session->slot;
if (!(session->flags & CKF_RW_SESSION)) {
rv = CKR_SESSION_READ_ONLY;