From: Martin Ling Date: Sat, 7 Dec 2013 20:18:27 +0000 (+0000) Subject: Remove stray periods from debug messages. X-Git-Tag: libserialport-0.1.0~24 X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=9af8cff38fe7aab2e93f5b0f28debeb4d65a4aaa;p=libserialport.git Remove stray periods from debug messages. --- diff --git a/serialport.c b/serialport.c index 712b951..95d9cfb 100644 --- a/serialport.c +++ b/serialport.c @@ -541,7 +541,7 @@ out: *list_ptr = list; RETURN_OK(); case SP_ERR_SUPP: - DEBUG_ERROR(SP_ERR_SUPP, "Enumeration not supported on this platform."); + DEBUG_ERROR(SP_ERR_SUPP, "Enumeration not supported on this platform"); default: if (list) sp_free_port_list(list); @@ -1015,12 +1015,12 @@ enum sp_return sp_nonblocking_write(struct sp_port *port, const void *buf, size_ RETURN_FAIL("WriteFile() failed"); } } else { - DEBUG("Single byte written immediately."); + DEBUG("Single byte written immediately"); written++; } } - DEBUG("All bytes written immediately."); + DEBUG("All bytes written immediately"); RETURN_VALUE("%d", written); #else