1
0
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:
Hans 2023-09-19 22:36:21 +02:00 committed by Soeren Apel
parent ea08028cc9
commit 0221495d76

View File

@ -36,7 +36,7 @@ SP_PRIV enum sp_return get_port_details(struct sp_port *port)
io_object_t ioport, ioparent;
CFTypeRef cf_property, cf_bus, cf_address, cf_vendor, cf_product;
Boolean result;
char path[PATH_MAX], class[16];
char path[PATH_MAX], class[64];
DEBUG("Getting serial port list");
if (!(classes = IOServiceMatching(kIOSerialBSDServiceValue)))