summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 334ea1b8b4..91fa182c9a 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -143,7 +143,7 @@ tor_open_cloexec(const char *path, int flags, unsigned mode)
return fd;
}
-/** As fpoen(path,mode), but ensures that the O_CLOEXEC bit is set on the
+/** As fopen(path,mode), but ensures that the O_CLOEXEC bit is set on the
* underlying file handle. */
FILE *
tor_fopen_cloexec(const char *path, const char *mode)