summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-10 08:06:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-07-10 08:06:56 +0000
commitde81fe773f9f41a5f3b47ce63ea5197aed965c43 (patch)
tree85a37e2b509eac6ea0a6bb3a1030b1444a3f9027 /usr.bin
parent1312340e81adc02ff3f652aacc20b2df4ceacf84 (diff)
do not syslog() with "\n"; skipped smtpd/named/ipmon; 12 minutes of dabbling
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/login/klogin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/login/klogin.c b/usr.bin/login/klogin.c
index 63dc80cc139..d9ae3990e60 100644
--- a/usr.bin/login/klogin.c
+++ b/usr.bin/login/klogin.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: klogin.c,v 1.6 1998/03/26 20:28:09 art Exp $ */
+/* $OpenBSD: klogin.c,v 1.7 1998/07/10 08:06:28 deraadt Exp $ */
/* $NetBSD: klogin.c,v 1.7 1996/05/21 22:07:04 mrg Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)klogin.c 8.3 (Berkeley) 4/2/94";
#endif
-static char rcsid[] = "$OpenBSD: klogin.c,v 1.6 1998/03/26 20:28:09 art Exp $";
+static char rcsid[] = "$OpenBSD: klogin.c,v 1.7 1998/07/10 08:06:28 deraadt Exp $";
#endif /* not lint */
#ifdef KERBEROS
@@ -177,7 +177,7 @@ klogin(pw, instance, localhost, password)
* this condition!
*/
if (strcmp(instance, "root") == 0) {
- syslog(LOG_ERR, "Kerberos %s root instance login refused\n",
+ syslog(LOG_ERR, "Kerberos %s root instance login refused",
pw->pw_name);
dest_tkt();
return (1);
@@ -213,7 +213,7 @@ klogin(pw, instance, localhost, password)
/* undecipherable: probably didn't have a srvtab on the local host */
if (kerror == RD_AP_UNDEC) {
- syslog(LOG_NOTICE, "krb_rd_req: (%s)\n", krb_err_txt[kerror]);
+ syslog(LOG_NOTICE, "krb_rd_req: (%s)", krb_err_txt[kerror]);
dest_tkt();
return (1);
}