summaryrefslogtreecommitdiff
path: root/usr.bin/login
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-30 09:22:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-05-30 09:22:47 +0000
commit20c443ab7ee49fa845e144599937021ac0c83345 (patch)
tree88ffa5cf51e5be45909889e560626ea02e48c446 /usr.bin/login
parent41981d661c44b639e39a98633f4f3a73850dc48e (diff)
= -> ==
Diffstat (limited to 'usr.bin/login')
-rw-r--r--usr.bin/login/klogin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/login/klogin.c b/usr.bin/login/klogin.c
index 8fe6b079f7f..62f407653a8 100644
--- a/usr.bin/login/klogin.c
+++ b/usr.bin/login/klogin.c
@@ -1,4 +1,4 @@
-/* $NetBSD: klogin.c,v 1.6 1995/03/08 19:41:36 brezak Exp $ */
+/* $NetBSD: klogin.c,v 1.7 1996/05/21 22:07:04 mrg Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)klogin.c 8.3 (Berkeley) 4/2/94";
#endif
-static char rcsid[] = "$NetBSD: klogin.c,v 1.6 1995/03/08 19:41:36 brezak Exp $";
+static char rcsid[] = "$NetBSD: klogin.c,v 1.7 1996/05/21 22:07:04 mrg Exp $";
#endif /* not lint */
#ifdef KERBEROS
@@ -205,7 +205,7 @@ klogin(pw, instance, localhost, password)
}
/* undecipherable: probably didn't have a srvtab on the local host */
- if (kerror = RD_AP_UNDEC) {
+ if (kerror == RD_AP_UNDEC) {
syslog(LOG_NOTICE, "krb_rd_req: (%s)\n", krb_err_txt[kerror]);
dest_tkt();
return (1);