mirror of
git://sigrok.org/libserialport
synced 2025-03-28 21:13:22 +00:00
Increase max class string length to 64
This commit is contained in:
parent
ea08028cc9
commit
0221495d76
2
macosx.c
2
macosx.c
@ -36,7 +36,7 @@ SP_PRIV enum sp_return get_port_details(struct sp_port *port)
|
|||||||
io_object_t ioport, ioparent;
|
io_object_t ioport, ioparent;
|
||||||
CFTypeRef cf_property, cf_bus, cf_address, cf_vendor, cf_product;
|
CFTypeRef cf_property, cf_bus, cf_address, cf_vendor, cf_product;
|
||||||
Boolean result;
|
Boolean result;
|
||||||
char path[PATH_MAX], class[16];
|
char path[PATH_MAX], class[64];
|
||||||
|
|
||||||
DEBUG("Getting serial port list");
|
DEBUG("Getting serial port list");
|
||||||
if (!(classes = IOServiceMatching(kIOSerialBSDServiceValue)))
|
if (!(classes = IOServiceMatching(kIOSerialBSDServiceValue)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user