diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-02-12 16:13:43 +0100 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-02-12 16:13:43 +0100 |
| commit | fd889cd72bd75634ed269e561c26732bd9e4a6e1 (patch) | |
| tree | 633822db37f9fb1cd4bea97eb7cf467510e4461e /lib/Utils/xfuncs.cpp | |
| parent | d862c355099cddbd01a719029ce2161a4a6cc05d (diff) | |
| parent | 5c273a5686f8d002a16183f44f73b4f50a03e799 (diff) | |
Merge branch 'master' into rhel6
Diffstat (limited to 'lib/Utils/xfuncs.cpp')
| -rw-r--r-- | lib/Utils/xfuncs.cpp | 2 |
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 : ""; |
