summaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-09-29 22:33:40 +0000
committerNick Mathewson <nickm@torproject.org>2006-09-29 22:33:40 +0000
commit7d366f61cb1b2b9965b02479c751a6987f328b76 (patch)
treed65fbad59801acc40f9098aef1470a53ce0af426 /src/common/compat.c
parent8308a379086a82126f685f3d8668e48b0453880d (diff)
downloadtor-7d366f61cb1b2b9965b02479c751a6987f328b76.tar.gz
tor-7d366f61cb1b2b9965b02479c751a6987f328b76.zip
r9025@Kushana: nickm | 2006-09-29 18:33:13 -0400
Differentiate more duplicated log entries svn:r8542
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index cddc73103a..6fb15e3794 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -652,12 +652,13 @@ switch_id(char *user, char *group)
}
if (setgid(gr->gr_gid) != 0) {
- log_warn(LD_GENERAL,"Error setting GID: %s", strerror(errno));
+ log_warn(LD_GENERAL,"Error setting to configured GID: %s",
+ strerror(errno));
return -1;
}
} else if (user) {
if (setgid(pw->pw_gid) != 0) {
- log_warn(LD_GENERAL,"Error setting GID: %s", strerror(errno));
+ log_warn(LD_GENERAL,"Error setting to user GID: %s", strerror(errno));
return -1;
}
}