Noticed when developing/testing bug 7057. rdesktop has logging that translates error codes into strings, and it relies on the pcsc_stringify_error function to do it. When rdesktop uses pcsctun through ThinLinc, it's saying UNKNOWN ERROR instead of the expected error string. > SmartCard(error): TS_SCardTransmit(), failed: (UNKNOWN ERROR) (0x80100069)