aboutsummaryrefslogtreecommitdiffstats
path: root/common/dotlock.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/dotlock.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/dotlock.c b/common/dotlock.c
index 7ebd5231c..5fe652ec0 100644
--- a/common/dotlock.c
+++ b/common/dotlock.c
@@ -411,7 +411,7 @@ struct dotlock_handle
};
-/* A list of of all lock handles. The volatile attribute might help
+/* A list of all lock handles. The volatile attribute might help
if used in an atexit handler. Note that [UN]LOCK_all_lockfiles
must not change ERRNO. */
static volatile dotlock_t all_lockfiles;
@@ -913,7 +913,7 @@ dotlock_create (const char *file_to_lock, unsigned int flags)
-/* Convenience function to store a file descriptor (or any any other
+/* Convenience function to store a file descriptor (or any other
integer value) in the context of handle H. */
void
dotlock_set_fd (dotlock_t h, int fd)
@@ -921,7 +921,7 @@ dotlock_set_fd (dotlock_t h, int fd)
h->extra_fd = fd;
}
-/* Convenience function to retrieve a file descriptor (or any any other
+/* Convenience function to retrieve a file descriptor (or any other
integer value) stored in the context of handle H. */
int
dotlock_get_fd (dotlock_t h)