summaryrefslogtreecommitdiff
path: root/src/fs/paths.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/paths.cpp')
-rw-r--r--src/fs/paths.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/paths.cpp b/src/fs/paths.cpp
index a639dacba..273dbd59f 100644
--- a/src/fs/paths.cpp
+++ b/src/fs/paths.cpp
@@ -264,7 +264,7 @@ std::string getHomePath()
if (path == nullptr)
{
const uid_t uid = getuid();
- const struct passwd *const pw = getpwuid(uid);
+ const passwd *const pw = getpwuid(uid);
if (pw != nullptr &&
pw->pw_dir != nullptr)
{