From 82935b7d7a4484fcf591c2fef1c0c7556633ce9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Tue, 7 Feb 2017 12:25:58 +0000 Subject: [PATCH] Downgrade the "unexpected EOF" message from ERROR to DEBUG. git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@916 185d5e19-27fe-0310-9dcf-9bff6b9f3609 --- lib/libpam/openpam_readword.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libpam/openpam_readword.c b/lib/libpam/openpam_readword.c index fdac700..ee91aba 100644 --- a/lib/libpam/openpam_readword.c +++ b/lib/libpam/openpam_readword.c @@ -134,7 +134,7 @@ openpam_readword(FILE *f, int *lineno, size_t *lenp) } if (ch == EOF && (escape || quote)) { /* Missing escaped character or closing quote. */ - openpam_log(PAM_LOG_ERROR, "unexpected end of file"); + openpam_log(PAM_LOG_DEBUG, "unexpected end of file"); free(word); errno = EINVAL; return (NULL);