aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-29 06:16:04 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-29 06:16:04 +0100
commit3288ec615f4b4bdb63005e6ae8e7782fcd969059 (patch)
tree34846348085ccdade75a6765ad0ade13cd3745b5
parentstyle (diff)
downloadsat-3288ec615f4b4bdb63005e6ae8e7782fcd969059.tar.gz
sat-3288ec615f4b4bdb63005e6ae8e7782fcd969059.tar.bz2
sat-3288ec615f4b4bdb63005e6ae8e7782fcd969059.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
-rw-r--r--src/daemonise.c2
-rw-r--r--src/daemonise.h2
-rw-r--r--src/parse_time.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/daemonise.c b/src/daemonise.c
index 8b90dd0..8d94a90 100644
--- a/src/daemonise.c
+++ b/src/daemonise.c
@@ -167,7 +167,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
diff --git a/src/daemonise.h b/src/daemonise.h
index e9d00d1..c590174 100644
--- a/src/daemonise.h
+++ b/src/daemonise.h
@@ -167,7 +167,7 @@
* - `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/parse_time.c b/src/parse_time.c
index 828c31b..18e5513 100644
--- a/src/parse_time.c
+++ b/src/parse_time.c
@@ -115,7 +115,7 @@ strtotime(const char *str, const char **end)
* @param str The time string.
* @param ts Output parameter for the POSIX time the string
* represents.
- * @parma end Output parameter for the end of the parsing of `str`.
+ * @param end Output parameter for the end of the parsing of `str`.
* @return 0 on success, -1 on error.
*
* @throws EINVAL `str` could not be parsed.
@@ -166,7 +166,7 @@ parse_time_time(const char *str, struct timespec *ts, const char **end)
* @param str The time string.
* @param ts Output parameter for the POSIX time the string
* represents.
- * @parma end Output parameter for the end of the parsing of `str`.
+ * @param end Output parameter for the end of the parsing of `str`.
* @return 0 on success, -1 on error.
*
* @throws EINVAL `str` could not be parsed.