forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita13b47a
committed
Fix unportable usage of printf("%m").
While glibc's version of printf accepts %m, most others do not;to be portable, we have to do it the hard way with strerror(errno).pg_verify_checksums evidently did not get that memo.Noted while fooling around with NetBSD-current, which generatesa compiler warning for this mistake.1 parentc6e8464 commita13b47a
1 file changed
+6
-5
lines changedLines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
88 |
| - | |
| 88 | + | |
| 89 | + | |
89 | 90 |
| |
90 | 91 |
| |
91 | 92 |
| |
| |||
137 | 138 |
| |
138 | 139 |
| |
139 | 140 |
| |
140 |
| - | |
141 |
| - | |
| 141 | + | |
| 142 | + | |
142 | 143 |
| |
143 | 144 |
| |
144 | 145 |
| |
| |||
152 | 153 |
| |
153 | 154 |
| |
154 | 155 |
| |
155 |
| - | |
156 |
| - | |
| 156 | + | |
| 157 | + | |
157 | 158 |
| |
158 | 159 |
| |
159 | 160 |
| |
|
0 commit comments
Comments
(0)