summaryrefslogtreecommitdiffstats
path: root/lib/Utils/xfuncs.cpp
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2010-02-15 10:13:34 +0100
committerKarel Klic <kklic@redhat.com>2010-02-15 10:13:34 +0100
commitf49b4e72dc22d004ada91292fcd7179956de81c4 (patch)
tree92edd09227bd41e738e004c0e45444d39452c012 /lib/Utils/xfuncs.cpp
parente245149118bff4a364fb6fbb0651b1f09e0ce0bc (diff)
parentf97428655a81cea935fd0a8cc93af83e712df299 (diff)
downloadabrt-f49b4e72dc22d004ada91292fcd7179956de81c4.tar.gz
abrt-f49b4e72dc22d004ada91292fcd7179956de81c4.tar.xz
abrt-f49b4e72dc22d004ada91292fcd7179956de81c4.zip
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'lib/Utils/xfuncs.cpp')
-rw-r--r--lib/Utils/xfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Utils/xfuncs.cpp b/lib/Utils/xfuncs.cpp
index 16f4cb0..7301d7f 100644
--- a/lib/Utils/xfuncs.cpp
+++ b/lib/Utils/xfuncs.cpp
@@ -252,7 +252,7 @@ void xstat(const char *name, struct stat *stat_buf)
perror_msg_and_die("can't stat '%s'", name);
}
-std::string get_home_dir(int uid)
+std::string get_home_dir(uid_t uid)
{
struct passwd* pw = getpwuid(uid);
return pw ? pw->pw_dir : "";