Commit 7cc0c81b authored by Ludovic Rousseau's avatar Ludovic Rousseau

pcsc_scan: use print_pcsc_error() macro

test_rv() now uses print_pcsc_error() macro.
parent 92aba236
......@@ -55,7 +55,7 @@
do { \
if (rv != SCARD_S_SUCCESS) \
{ \
printf("%s%s: %s%s\n", red, fct, pcsc_stringify_error(rv), color_end); \
print_pcsc_error(fct, rv); \
(void)SCardReleaseContext(hContext); \
return -1; \
} \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment