summaryrefslogtreecommitdiffstats
path: root/lib/Utils/xfuncs.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2010-02-12 16:13:43 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2010-02-12 16:13:43 +0100
commitfd889cd72bd75634ed269e561c26732bd9e4a6e1 (patch)
tree633822db37f9fb1cd4bea97eb7cf467510e4461e /lib/Utils/xfuncs.cpp
parentd862c355099cddbd01a719029ce2161a4a6cc05d (diff)
parent5c273a5686f8d002a16183f44f73b4f50a03e799 (diff)
Merge branch 'master' into rhel6
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 : "";