From: Uwe Hermann Date: Wed, 25 Mar 2015 19:13:57 +0000 (+0100) Subject: Fix some typos. X-Git-Tag: libserialport-0.1.1~80 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=cfa5af67fd2107c1f5c0a666826087214cb1ea4a;p=libserialport.git Fix some typos. --- diff --git a/libserialport.h.in b/libserialport.h.in index eca21a5..278176d 100644 --- a/libserialport.h.in +++ b/libserialport.h.in @@ -95,7 +95,7 @@ enum sp_return { SP_OK = 0, /** Invalid arguments were passed to the function. */ SP_ERR_ARG = -1, - /** A system error occured while executing the operation. */ + /** A system error occurred while executing the operation. */ SP_ERR_FAIL = -2, /** A memory allocation failed while executing the operation. */ SP_ERR_MEM = -3, @@ -119,7 +119,7 @@ enum sp_event { SP_EVENT_RX_READY = 1, /* Ready to transmit new data. */ SP_EVENT_TX_READY = 2, - /* Error occured. */ + /* Error occurred. */ SP_EVENT_ERROR = 4 }; @@ -1045,7 +1045,7 @@ enum sp_return sp_nonblocking_read(struct sp_port *port, void *buf, size_t count * written. If timeout is zero, the function will always return * either the requested number of bytes or a negative error code. In * the event of an error there is no way to determine how many bytes - * were sent before the error occured. + * were sent before the error occurred. * * @since 0.1.0 */