Fix portability failure introduced in commits d2b0b60e7 et al.
authorTom Lane
Wed, 26 Dec 2018 20:30:10 +0000 (15:30 -0500)
committerTom Lane
Wed, 26 Dec 2018 20:30:40 +0000 (15:30 -0500)
commit4f7ab73106a0782fde22f7f405ef36954cb40eb5
treec2c5a7e398a47af39d373b0621b27360167ece7e
parentb7b0314b80e90130b27e9f5ee4e45778e4cccf09
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.
src/common/psprintf.c