aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/unistd.h2
-rw-r--r--src/unistd/daemonise.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 29a65c6..c6c1711 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1163,7 +1163,7 @@ int daemon(int, int)
* - `DAEMONISE_KEEP_STDIN`
* - `DAEMONISE_KEEP_STDOUT`
* - `DAEMONISE_KEEP_FDS`
- * @parma ... Enabled if `DAEMONISE_KEEP_FDS` is used,
+ * @param ... Enabled if `DAEMONISE_KEEP_FDS` is used,
* do not add anything if `DAEMONISE_KEEP_FDS`
* is unused. This is a `-1`-terminated list
* of file descritors to keep open. 0, 1, and 2
diff --git a/src/unistd/daemonise.c b/src/unistd/daemonise.c
index 886c30d..189fd5f 100644
--- a/src/unistd/daemonise.c
+++ b/src/unistd/daemonise.c
@@ -161,7 +161,7 @@ static int dup_at_least_3(int old)
* - `DAEMONISE_KEEP_STDIN`
* - `DAEMONISE_KEEP_STDOUT`
* - `DAEMONISE_KEEP_FDS`
- * @parma ... Enabled if `DAEMONISE_KEEP_FDS` is used,
+ * @param ... Enabled if `DAEMONISE_KEEP_FDS` is used,
* do not add anything if `DAEMONISE_KEEP_FDS`
* is unused. This is a `-1`-terminated list
* of file descritors to keep open. 0, 1, and 2