aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmdsserver
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libmdsserver/util.c8
-rw-r--r--src/libmdsserver/util.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/libmdsserver/util.c b/src/libmdsserver/util.c
index 7047d9b..66edf16 100644
--- a/src/libmdsserver/util.c
+++ b/src/libmdsserver/util.c
@@ -335,10 +335,10 @@ int startswith_n(const char* haystack, const char* needle, size_t haystack_n, si
* Wrapper around `waitpid` that never returns on an interruption unless
* it is interrupted 100 times within the same second
*
- * @param pid See description of `pid` in the documentation for `waitpid`
- * @param pid See description of `status` in the documentation for `waitpid`
- * @param pid See description of `options` in the documentation for `waitpid`
- * @return See the documentation for `waitpid`
+ * @param pid See description of `pid` in the documentation for `waitpid`
+ * @param status See description of `status` in the documentation for `waitpid`
+ * @param options See description of `options` in the documentation for `waitpid`
+ * @return See the documentation for `waitpid`
*/
pid_t uninterruptable_waitpid(pid_t pid, int* restrict status, int options)
{
diff --git a/src/libmdsserver/util.h b/src/libmdsserver/util.h
index 7e125dd..30b2139 100644
--- a/src/libmdsserver/util.h
+++ b/src/libmdsserver/util.h
@@ -142,10 +142,10 @@ int startswith_n(const char* haystack, const char* needle, size_t haystack_n, si
* Wrapper around `waitpid` that never returns on an interruption unless
* it is interrupted 100 times within the same second
*
- * @param pid See description of `pid` in the documentation for `waitpid`
- * @param pid See description of `status` in the documentation for `waitpid`
- * @param pid See description of `options` in the documentation for `waitpid`
- * @return See the documentation for `waitpid`
+ * @param pid See description of `pid` in the documentation for `waitpid`
+ * @param status See description of `status` in the documentation for `waitpid`
+ * @param options See description of `options` in the documentation for `waitpid`
+ * @return See the documentation for `waitpid`
*/
pid_t uninterruptable_waitpid(pid_t pid, int* restrict status, int options);