1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

Fix Windows build.

This commit is contained in:
Uwe Hermann 2014-08-27 14:53:19 +02:00
parent 0666ccc7ca
commit d38c7d2c70

View File

@ -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;