Add missing newline in one libpq error message.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Mar 2022 15:24:26 +0000 (11:24 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Mar 2022 15:24:26 +0000 (11:24 -0400)
Oversight in commit a59c79564.  Back-patch, as that was.
Noted by Peter Eisentraut.

Discussion: https://postgr.es/m/7f85ef6d-250b-f5ec-9867-89f0b16d019f@enterprisedb.com

src/interfaces/libpq/fe-secure-openssl.c

index d3bf57b850a868add1ffe8d83915eff3c8d0cd39..0cba5c5cf2f574cc738721d696fda72ca8ede208 100644 (file)
@@ -1250,7 +1250,7 @@ initialize_SSL(PGconn *conn)
        if (!S_ISREG(buf.st_mode))
        {
            appendPQExpBuffer(&conn->errorMessage,
-                             libpq_gettext("private key file \"%s\" is not a regular file"),
+                             libpq_gettext("private key file \"%s\" is not a regular file\n"),
                              fnbuf);
            return -1;
        }