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 7348a62e468350f79cf2391aed00afaef436f4db..cbc90c64b8641ad5647cf8011b8afa6a6b2d52c1 100644 (file)
@@ -1192,7 +1192,7 @@ initialize_SSL(PGconn *conn)
        if (!S_ISREG(buf.st_mode))
        {
            printfPQExpBuffer(&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;
        }