Fix portability failure introduced in commits d2b0b60e7 et al.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4f7ab73106a0782fde22f7f405ef36954cb40eb5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2018-12-26T20:30:40Z
Releases: 9.4.21
Fix portability failure introduced in commits d2b0b60e7 et al.

I made a frontend fprintf() format use %m, forgetting that that's only
safe in HEAD not the back branches; prior to 96bf88d52 and d6c55de1f,
it would work on glibc platforms but not elsewhere.  Revert to using
%s ... strerror(errno) as the code did before.

We could have left HEAD as-is, but for code consistency across branches,
I chose to apply this patch there too.

Per Coverity and a few buildfarm members.

Files

PathChange+/−
src/common/psprintf.c modified +2 −1