From fc3229a1996995cb4fb130681260760b91c6d62f Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 4 Jul 2003 21:57:16 +0000 Subject: [PATCH] Undo unintended commit. --- crypto/dist/ssh/sshlogin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/dist/ssh/sshlogin.c b/crypto/dist/ssh/sshlogin.c index 8bbf6762b3ce..d3fba15382a1 100644 --- a/crypto/dist/ssh/sshlogin.c +++ b/crypto/dist/ssh/sshlogin.c @@ -1,4 +1,4 @@ -/* $NetBSD: sshlogin.c,v 1.9 2003/07/04 21:56:48 wiz Exp $ */ +/* $NetBSD: sshlogin.c,v 1.10 2003/07/04 21:57:16 wiz Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -71,7 +71,7 @@ get_last_login_time(uid_t uid, const char *logname, buf[0] = '\0'; #ifdef SUPPORT_UTMPX - if ((llxp = getlastlogx(_PATH_LASTLOGX, uid, &llx)) != NULL) { + if ((llxp = getlastlogx(uid, &llx)) != NULL) { if (bufsize > sizeof(llxp->ll_host) + 1) bufsize = sizeof(llxp->ll_host) + 1; strncpy(buf, llxp->ll_host, bufsize - 1);