/[pcsclite]/trunk/Drivers/ccid/src/parse.c
ViewVC logotype

Diff of /trunk/Drivers/ccid/src/parse.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2233 by rousseau, Wed Sep 6 20:06:58 2006 UTC revision 2234 by rousseau, Wed Nov 22 19:40:15 2006 UTC
# Line 134  static int ccid_parse_interface_descript Line 134  static int ccid_parse_interface_descript
134          printf(" idVendor: 0x%04X\n", dev->descriptor.idVendor);          printf(" idVendor: 0x%04X\n", dev->descriptor.idVendor);
135          if (usb_get_string_simple(handle, dev->descriptor.iManufacturer,          if (usb_get_string_simple(handle, dev->descriptor.iManufacturer,
136                  buffer, sizeof(buffer)) < 0)                  buffer, sizeof(buffer)) < 0)
137            {
138                  printf("  Can't get iManufacturer string\n");                  printf("  Can't get iManufacturer string\n");
139                    if (getuid())
140                    {
141                            printf("\33[01;31mPlease, restart the command as root\33[0m\n\n");
142                            return TRUE;
143                    }
144            }
145          else          else
146                  printf("  iManufacturer: %s\n", buffer);                  printf("  iManufacturer: %s\n", buffer);
147    

Legend:
Removed from v.2233  
changed lines
  Added in v.2234

  ViewVC Help
Powered by ViewVC 1.1.5