Parent Directory
|
Revision Log
|
Patch
| revision 1050 by rousseau, Fri Jul 9 07:10:17 2004 UTC | revision 1051 by rousseau, Fri Jul 9 08:45:21 2004 UTC | |
|---|---|---|
| # | Line 82 int ccid_open_hack(unsigned int lun) | Line 82 int ccid_open_hack(unsigned int lun) |
| 82 | void ccid_error(int error, char *file, int line, char *function) | void ccid_error(int error, char *file, int line, char *function) |
| 83 | { | { |
| 84 | char *text; | char *text; |
| 85 | char var_text[20]; | |
| 86 | ||
| 87 | switch (error) | switch (error) |
| 88 | { | { |
| # | Line 188 void ccid_error(int error, char *file, i | Line 189 void ccid_error(int error, char *file, i |
| 189 | default: | default: |
| 190 | if ((error >= 1) && (error <= 127)) | if ((error >= 1) && (error <= 127)) |
| 191 | { | { |
| char var_text[20]; | ||
| 192 | sprintf(var_text, "error on byte %d", error); | sprintf(var_text, "error on byte %d", error); |
| 193 | text = var_text; | text = var_text; |
| 194 | } | } |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |