summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--auth.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index daf1e98f5..0f9a265a6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
4 tests would fail because the pidfile could not be read by a regular user. 4 tests would fail because the pidfile could not be read by a regular user.
5 "cat: cannot open ...../regress/pidfile: Permission denied (error 13)" 5 "cat: cannot open ...../regress/pidfile: Permission denied (error 13)"
6 Make sure cat is run by $SUDO. no objection from me. djm@ 6 Make sure cat is run by $SUDO. no objection from me. djm@
7 - (tim) [auth.c] add cast to quiet compiler. Change only affects SVR5 systems.
7 8
820100809 920100809
9 - (djm) bz#1561: don't bother setting IFF_UP on tun(4) device if it is 10 - (djm) bz#1561: don't bother setting IFF_UP on tun(4) device if it is
diff --git a/auth.c b/auth.c
index a27667f42..dba1e6555 100644
--- a/auth.c
+++ b/auth.c
@@ -143,7 +143,7 @@ allowed_user(struct passwd * pw)
143 locked = 1; 143 locked = 1;
144#endif 144#endif
145#ifdef USE_LIBIAF 145#ifdef USE_LIBIAF
146 free(passwd); 146 free((void *) passwd);
147#endif /* USE_LIBIAF */ 147#endif /* USE_LIBIAF */
148 if (locked) { 148 if (locked) {
149 logit("User %.100s not allowed because account is locked", 149 logit("User %.100s not allowed because account is locked",