summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2005-06-22 12:19:12 +0000
committerBrian Cameron <bcameron@src.gnome.org>2005-06-22 12:19:12 +0000
commit18308d6f0b1fcc049bcdc3fb11da4736451cf367 (patch)
treeb8b11d53bef0db2ff6e3b762cb41fd326847b4a2
parent5004d204809cc2018d72fd123fc3e7ef3f94b6a7 (diff)
downloadgdm-18308d6f0b1fcc049bcdc3fb11da4736451cf367.tar.gz
Minor correction to Solaris audit logic provided by Gary Winiger.
2005-06-22 Brian Cameron <brian.cameron@sun.com> * verify-pam.c: Minor correction to Solaris audit logic provided by Gary Winiger. <Gary.Winiger@sun.com>
-rw-r--r--ChangeLog3
-rw-r--r--daemon/verify-pam.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b582d2f..7a8a70e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,9 @@
dependant libraries and ensure they are
included in the link statements for each
binary.
+ * verify-pam.c: Minor correction to Solaris
+ audit logic provided by Gary Winiger.
+ <Gary.Winiger@sun.com>
2005-06-20 Brian Cameron <brian.cameron@sun.com>
diff --git a/daemon/verify-pam.c b/daemon/verify-pam.c
index 566214e3..830a38fe 100644
--- a/daemon/verify-pam.c
+++ b/daemon/verify-pam.c
@@ -188,7 +188,7 @@ audit_fail_login(GdmDisplay *d, int pw_change, struct passwd *pwent,
}
if (d->attached) {
/* login from the local host */
- if (adt_load_hostname(NULL, &tid) != 0) {
+ if (adt_load_ttyname("/dev/console", &tid) != 0) {
syslog(LOG_AUTH | LOG_ALERT,
"adt_loadhostname(localhost): %m");