aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2015-12-16 23:11:38 +0100
committerNick Mathewson <nickm@torproject.org>2015-12-17 08:34:27 -0500
commit759e6f8afb19da6c6664d630f4695fc50cf62abc (patch)
treef7ffc5ab09d73583f77482ccbbcf675e19582371 /src/common
parent9d5e47d2d74da8b7dd3cea27b758d978b759530a (diff)
downloadtor-759e6f8afb19da6c6664d630f4695fc50cf62abc.tar.gz
tor-759e6f8afb19da6c6664d630f4695fc50cf62abc.zip
Improve warning message
The user parameter is not checked so we do not know the user has been specified.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/compat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 7e8eec189a..0b8fcb7e64 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -2207,8 +2207,7 @@ switch_id(const char *user, const unsigned flags)
(void)user;
(void)flags;
- log_warn(LD_CONFIG,
- "User specified but switching users is unsupported on your OS.");
+ log_warn(LD_CONFIG, "Switching users is unsupported on your OS.");
return -1;
#endif
}