summaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 7baf6643dc..96155e68cb 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -917,7 +917,7 @@ check_private_dir(const char *dirname, cpd_check_t check)
char *process_ownername = NULL;
pw = getpwuid(getuid());
- process_ownername = pw ? tor_strdup(pw->pw_name) : "<unknown>";
+ process_ownername = pw ? tor_strdup(pw->pw_name) : tor_strdup("<unknown>");
pw = getpwuid(st.st_uid);