Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libpam/modules/pam_ssh remove excess newlines in debug o...



details:   https://anonhg.NetBSD.org/src/rev/e5e1881c31b6
branches:  trunk
changeset: 764823:e5e1881c31b6
user:      drochner <drochner%NetBSD.org@localhost>
date:      Fri May 06 17:22:09 2011 +0000

description:
remove excess newlines in debug output

diffstat:

 lib/libpam/modules/pam_ssh/pam_ssh.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r c0432d3e64e0 -r e5e1881c31b6 lib/libpam/modules/pam_ssh/pam_ssh.c
--- a/lib/libpam/modules/pam_ssh/pam_ssh.c      Fri May 06 15:29:06 2011 +0000
+++ b/lib/libpam/modules/pam_ssh/pam_ssh.c      Fri May 06 17:22:09 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pam_ssh.c,v 1.16 2010/11/21 20:41:36 adam Exp $        */
+/*     $NetBSD: pam_ssh.c,v 1.17 2011/05/06 17:22:09 drochner Exp $    */
 
 /*-
  * Copyright (c) 2003 Networks Associates Technology, Inc.
@@ -38,7 +38,7 @@
 #ifdef __FreeBSD__
 __FBSDID("$FreeBSD: src/lib/libpam/modules/pam_ssh/pam_ssh.c,v 1.40 2004/02/10 10:13:21 des Exp $");
 #else
-__RCSID("$NetBSD: pam_ssh.c,v 1.16 2010/11/21 20:41:36 adam Exp $");
+__RCSID("$NetBSD: pam_ssh.c,v 1.17 2011/05/06 17:22:09 drochner Exp $");
 #endif
 
 #include <sys/param.h>
@@ -107,13 +107,13 @@
        comment = NULL;
        key = key_load_private(fn, passphrase, &comment);
        if (key == NULL) {
-               openpam_log(PAM_LOG_DEBUG, "failed to load key from %s\n", fn);
+               openpam_log(PAM_LOG_DEBUG, "failed to load key from %s", fn);
                if (comment != NULL)
                        free(comment);
                return (NULL);
        }
 
-       openpam_log(PAM_LOG_DEBUG, "loaded '%s' from %s\n", comment, fn);
+       openpam_log(PAM_LOG_DEBUG, "loaded '%s' from %s", comment, fn);
        if ((psk = malloc(sizeof(*psk))) == NULL) {
                key_free(key);
                free(comment);



Home | Main Index | Thread Index | Old Index