Add missing newline in one libpq error message.
authorTom Lane
Thu, 31 Mar 2022 15:24:26 +0000 (11:24 -0400)
committerTom Lane
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 daaf062b2ab38948b40f1869837d36923fe04202..48f384f7ee2beb905194604738097b4256803c56 100644 (file)
@@ -1234,7 +1234,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;
        }