Skip to content

Commit

Permalink
Merge pull request #1 from MCUdude/master
Browse files Browse the repository at this point in the history
Increase max class string length to 64
See sigrokproject#14 for details
  • Loading branch information
MCUdude authored Feb 20, 2024
2 parents fd20b0f + fe2c609 commit 88a6622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macosx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
Expand Down

0 comments on commit 88a6622

Please sign in to comment.