Fix Windows build.

This commit is contained in:
Uwe Hermann 2014-08-27 14:53:19 +02:00
parent 0666ccc7ca
commit d38c7d2c70
1 changed files with 1 additions and 1 deletions

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;