Fix strerror_l invocation to be XSI-compliant
1 files changed, 4 insertions(+), 5 deletions(-) M src/eteroj_io.c
M src/eteroj_io.c => src/eteroj_io.c +4 -5
@@ 550,16 550,15 @@ run(LV2_Handle instance, uint32_t nsamples) static inline void _handle_enum(plughandle_t *handle, LV2_OSC_Enum ev) { const char *err = ""; char err [STR_LEN] = { '\0' }; if(ev & LV2_OSC_ERR) { char buf [STR_LEN] = { '\0' }; err = strerror_r(ev & LV2_OSC_ERR, buf, sizeof(buf)); strerror_r(ev & LV2_OSC_ERR, err, sizeof(err)); if(!err) if(strlen(err) == 0) { err = "Unknown"; snprintf(err, sizeof(err), "%s", "Unknown"); } if(handle->log)