From: Uwe Hermann Date: Wed, 27 Aug 2014 12:53:19 +0000 (+0200) Subject: Fix Windows build. X-Git-Tag: libserialport-0.1.1~105 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=d38c7d2c705a114bfe3204215c682da2e68d77db;p=libserialport.git Fix Windows build. --- diff --git a/windows.c b/windows.c index 78b6ce9..4bbce82 100644 --- a/windows.c +++ b/windows.c @@ -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;