Skip to content

Commit fe2c609

Browse files
authored
Increase max class string length to 64
1 parent 6f9b03e commit fe2c609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

macosx.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ SP_PRIV enum sp_return get_port_details(struct sp_port *port)
3636
io_object_t ioport, ioparent;
3737
CFTypeRef cf_property, cf_bus, cf_address, cf_vendor, cf_product;
3838
Boolean result;
39-
char path[PATH_MAX], class[16];
39+
char path[PATH_MAX], class[64];
4040

4141
DEBUG("Getting serial port list");
4242
if (!(classes = IOServiceMatching(kIOSerialBSDServiceValue)))

0 commit comments

Comments
 (0)