From: Martin Ling Date: Thu, 23 Apr 2015 21:23:14 +0000 (+0100) Subject: doc: correct structure name in sp_get_port_handle() documentation. X-Git-Tag: libserialport-0.1.1~39 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=480d750c59b23f7c6b6dd5c5dd32f697a0783221;p=libserialport.git doc: correct structure name in sp_get_port_handle() documentation. --- diff --git a/libserialport.h.in b/libserialport.h.in index b590cac..9c6842a 100644 --- a/libserialport.h.in +++ b/libserialport.h.in @@ -555,10 +555,10 @@ enum sp_return sp_get_port_handle(const struct sp_port *port, void *result_ptr); /** * Allocate a port configuration structure. * - * The user should allocate a variable of type "struct sp_config *" and pass a - * pointer to this to receive the result. The variable will be updated to - * point to the new configuration structure. The structure is opaque and must - * be accessed via the functions provided. + * The user should allocate a variable of type "struct sp_port_config *" and + * pass a pointer to this to receive the result. The variable will be updated + * to point to the new configuration structure. The structure is opaque and + * must be accessed via the functions provided. * * All parameters in the structure will be initialised to special values which * are ignored by sp_set_config().