summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-08-01 14:34:16 +1000
committerDamien Miller <djm@mindrot.org>2013-08-01 14:34:16 +1000
commitab3575c055adfbce70fa7405345cf0f80b07c827 (patch)
tree78274499722d52a7e8d1108efa09f779b7d5c1e3
parentc192a4c4f6da907dc0e67a3ca61d806f9a92c931 (diff)
- (djm) [sshlogin.h] Fix prototype merge botch from 2006; bz#2134
-rw-r--r--ChangeLog1
-rw-r--r--sshlogin.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3b79b5d2..fdce7056 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
otherwise have been retrievable via getsockopt(). A hack to limit writes
to TTYs on AIX was triggering this. Since only AIX needs the hack, wrap
it in an #ifdef. Diagnosis and patch from Ivo Raisr.
+ - (djm) [sshlogin.h] Fix prototype merge botch from 2006; bz#2134
20130725
- (djm) OpenBSD CVS Sync
diff --git a/sshlogin.h b/sshlogin.h
index 500d3fef..52119a97 100644
--- a/sshlogin.h
+++ b/sshlogin.h
@@ -15,7 +15,7 @@
void record_login(pid_t, const char *, const char *, uid_t,
const char *, struct sockaddr *, socklen_t);
void record_logout(pid_t, const char *, const char *);
-time_t get_last_login_time(uid_t, const char *, char *, u_int);
+time_t get_last_login_time(uid_t, const char *, char *, size_t);
#ifdef LOGIN_NEEDS_UTMPX
void record_utmp_only(pid_t, const char *, const char *, const char *,