]> sigrok.org Git - libserialport.git/commitdiff
Fix Windows build.
authorUwe Hermann <redacted>
Wed, 27 Aug 2014 12:53:19 +0000 (14:53 +0200)
committerUwe Hermann <redacted>
Wed, 27 Aug 2014 12:53:19 +0000 (14:53 +0200)
windows.c

index 78b6ce9babf6685bed794b17bf974e09084c829f..4bbce822940ddded91546be3eb811c2d69650be2 100644 (file)
--- 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;