aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index 7daeb52..f1019aa 100644
--- a/util.c
+++ b/util.c
@@ -92,7 +92,7 @@ fail:
* Not cancelled by `EINTR`
*
* @param fd The file descriptor
- * @param buf The buffer which shall be written to the fail
+ * @param buf The buffer which shall be written to the file
* @param n The size of the buffer
* @return The number of written bytes, less than `n`
* on error, cannot exceed `n`
@@ -119,7 +119,7 @@ nwrite(int fd, const void *restrict buf, size_t n)
/**
- * Perform a timed suspention of the process.
+ * Perform a timed suspension of the process.
* The process resumes when the timer expires,
* or when it is interrupted.
*