diff --git a/lib/libpam/modules/pam_ssh/pam_ssh.c b/lib/libpam/modules/pam_ssh/pam_ssh.c index 9d89045ac22f..bec9892b52ae 100644 --- a/lib/libpam/modules/pam_ssh/pam_ssh.c +++ b/lib/libpam/modules/pam_ssh/pam_ssh.c @@ -103,11 +103,11 @@ pam_ssh_load_key(const char *dir, const char *kfn, const char *passphrase) 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); 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);