Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
pcsc-gempc
ifd-gempc-1.0.0-devname.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ifd-gempc-1.0.0-devname.diff of Package pcsc-gempc
--- GemPC410/GemPC410Utils.c +++ GemPC410/GemPC410Utils.c @@ -71,13 +71,13 @@ if (channel == 0x0102E8) channel = 4; - if (channel < 0) + if (channel < 1 || channel > 16) { DEBUG_CRITICAL2("wrong port number: %d", (int) channel); return STATUS_UNSUCCESSFUL; } - sprintf(dev_name, "/dev/pcsc/%d", (int) channel); + sprintf(dev_name, "/dev/ttyS%d", (int) channel - 1); return OpenGemPC410ByName(lun, dev_name); } /* OpenGemPC410 */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor