aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-12-26 15:30:10 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-12-26 15:30:35 -0500
commitb8fa4c1626190142d2e98155f9df99f80fe01cef (patch)
tree12561f9307e943119eb5a759548465e2a053545c /src/tutorial/funcs.c
parent37126251ab7732a2b047a38571ef8dd9738a5fdf (diff)
downloadpostgresql-b8fa4c1626190142d2e98155f9df99f80fe01cef.tar.gz
postgresql-b8fa4c1626190142d2e98155f9df99f80fe01cef.zip
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.
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions