diff options
Diffstat (limited to 'daemon/gdm-display-access-file.c')
-rw-r--r-- | daemon/gdm-display-access-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gdm-display-access-file.c b/daemon/gdm-display-access-file.c index ee42a215..6497e3e3 100644 --- a/daemon/gdm-display-access-file.c +++ b/daemon/gdm-display-access-file.c @@ -209,7 +209,7 @@ _get_uid_and_gid_for_user (const char *username, g_assert (gid != NULL); errno = 0; - passwd_entry = getpwnam (username); + gdm_get_pwent_for_name (username, &passwd_entry); if (passwd_entry == NULL) { return FALSE; |