mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
Fix Windows build.
This commit is contained in:
parent
0666ccc7ca
commit
d38c7d2c70
@ -511,7 +511,7 @@ SP_PRIV enum sp_return list_ports(struct sp_port ***list)
|
||||
strcpy(name, data);
|
||||
#endif
|
||||
if (type == REG_SZ) {
|
||||
DEBUG("Found port %s", name);
|
||||
DEBUG_FMT("Found port %s", name);
|
||||
if (!(*list = list_append(*list, name))) {
|
||||
SET_ERROR(ret, SP_ERR_MEM, "list append failed");
|
||||
goto out;
|
||||
|
Loading…
Reference in New Issue
Block a user