aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-02-23 05:07:29 +0000
committerAndrea Shepard <andrea@torproject.org>2016-02-23 05:07:29 +0000
commitcda238178986e79ff8f783469682f33fa7230a26 (patch)
tree92ae82c8dae8a57ec7e0121e3cf8b6a5e1d61a34 /src/common
parente019e11e61c2c57c84505aaf2559966bddd4a10d (diff)
downloadtor-cda238178986e79ff8f783469682f33fa7230a26.tar.gz
tor-cda238178986e79ff8f783469682f33fa7230a26.zip
Appease make check-spaces
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c
index fda5993edf..488f1b6ca8 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -2080,7 +2080,7 @@ check_private_dir(const char *dirname, cpd_check_t check,
*/
tor_assert(dirname);
- /* Open directory.
+ /* Open directory.
* O_NOFOLLOW to ensure that it does not follow symbolic links */
fd = open(sandbox_intern_string(dirname), O_NOFOLLOW);
@@ -2122,7 +2122,7 @@ check_private_dir(const char *dirname, cpd_check_t check,
if ( fd == -1 ) return -1;
- } else if (!(check & CPD_CHECK)) {
+ } else if (!(check & CPD_CHECK)) {
log_warn(LD_FS, "Directory %s does not exist.", dirname);
return -1;
}