aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libmdsserver/fd-table.c2
-rw-r--r--src/libmdsserver/fd-table.h2
-rw-r--r--src/libmdsserver/hash-table.c2
-rw-r--r--src/libmdsserver/hash-table.h2
-rw-r--r--src/libmdsserver/linked-list.c2
-rw-r--r--src/libmdsserver/linked-list.h2
6 files changed, 6 insertions, 6 deletions
diff --git a/src/libmdsserver/fd-table.c b/src/libmdsserver/fd-table.c
index 58d37ef..f85d5f5 100644
--- a/src/libmdsserver/fd-table.c
+++ b/src/libmdsserver/fd-table.c
@@ -284,7 +284,7 @@ void fd_table_marshal(const fd_table_t* restrict this, char* restrict data)
* @param this Memory slot in which to store the new fd table
* @param data In buffer with the marshalled data
* @param remapper Function that translates values, `NULL` if not translation takes place
- * @return Non-zero one error, errno will be set accordingly.
+ * @return Non-zero on error, errno will be set accordingly.
* Destroy the table on error.
*/
int fd_table_unmarshal(fd_table_t* restrict this, char* restrict data, remap_func* remapper)
diff --git a/src/libmdsserver/fd-table.h b/src/libmdsserver/fd-table.h
index afba699..5fe9d98 100644
--- a/src/libmdsserver/fd-table.h
+++ b/src/libmdsserver/fd-table.h
@@ -167,7 +167,7 @@ void fd_table_marshal(const fd_table_t* restrict this, char* restrict data);
* @param this Memory slot in which to store the new fd table
* @param data In buffer with the marshalled data
* @param remapper Function that translates values, `NULL` if not translation takes place
- * @return Non-zero one error, errno will be set accordingly.
+ * @return Non-zero on error, errno will be set accordingly.
* Destroy the table on error.
*/
int fd_table_unmarshal(fd_table_t* restrict this, char* restrict data, remap_func* remapper);
diff --git a/src/libmdsserver/hash-table.c b/src/libmdsserver/hash-table.c
index b8149f5..78d5d49 100644
--- a/src/libmdsserver/hash-table.c
+++ b/src/libmdsserver/hash-table.c
@@ -434,7 +434,7 @@ void hash_table_marshal(const hash_table_t* restrict this, char* restrict data)
* @param this Memory slot in which to store the new hash table
* @param data In buffer with the marshalled data
* @param remapper Function that translates values, `NULL` if not translation takes place
- * @return Non-zero one error, errno will be set accordingly.
+ * @return Non-zero on error, errno will be set accordingly.
* Destroy the table on error.
*/
int hash_table_unmarshal(hash_table_t* restrict this, char* restrict data, remap_func* remapper)
diff --git a/src/libmdsserver/hash-table.h b/src/libmdsserver/hash-table.h
index 9f6973c..33c0aed 100644
--- a/src/libmdsserver/hash-table.h
+++ b/src/libmdsserver/hash-table.h
@@ -229,7 +229,7 @@ void hash_table_marshal(const hash_table_t* restrict this, char* restrict data);
* @param this Memory slot in which to store the new hash table
* @param data In buffer with the marshalled data
* @param remapper Function that translates values, `NULL` if not translation takes place
- * @return Non-zero one error, errno will be set accordingly.
+ * @return Non-zero on error, errno will be set accordingly.
* Destroy the table on error.
*/
int hash_table_unmarshal(hash_table_t* restrict this, char* restrict data, remap_func* remapper);
diff --git a/src/libmdsserver/linked-list.c b/src/libmdsserver/linked-list.c
index 45f0bd6..916eaf9 100644
--- a/src/libmdsserver/linked-list.c
+++ b/src/libmdsserver/linked-list.c
@@ -466,7 +466,7 @@ void linked_list_marshal(const linked_list_t* restrict this, char* restrict data
*
* @param this Memory slot in which to store the new linked list
* @param data In buffer with the marshalled data
- * @return Non-zero one error, errno will be set accordingly.
+ * @return Non-zero on error, errno will be set accordingly.
* Destroy the list on error.
*/
int linked_list_unmarshal(linked_list_t* restrict this, char* restrict data)
diff --git a/src/libmdsserver/linked-list.h b/src/libmdsserver/linked-list.h
index e99040f..aa8a09b 100644
--- a/src/libmdsserver/linked-list.h
+++ b/src/libmdsserver/linked-list.h
@@ -259,7 +259,7 @@ void linked_list_marshal(const linked_list_t* restrict this, char* restrict data
*
* @param this Memory slot in which to store the new linked list
* @param data In buffer with the marshalled data
- * @return Non-zero one error, errno will be set accordingly.
+ * @return Non-zero on error, errno will be set accordingly.
* Destroy the list on error.
*/
int linked_list_unmarshal(linked_list_t* restrict this, char* restrict data);