On 1/16/18 5:52 PM, Eric Sandeen wrote: ... > /* Print a warning string and some warning text. */ > void > __str_out( > struct scrub_ctx *ctx, > const char *descr, > int level, > int error, > const char *file, > int line, > const char *format, > ...) > { > FILE *stream = stderr; > va_list args; > char buf[DESCR_BUFSZ]; > > /* print strerror or format of choice but not both */ > if (error && format) > abort(); > > if (level >= S_INFO) > stream = stdout; > > pthread_mutex_lock(&ctx->lock); oops this and every other "errno" below should be error, sorry: > if (errno) > fprintf(stream, _("%s%s: %s: %s."), > str_start(stream), err_str[level], descr, > strerror_r(errno, buf, DESCR_BUFSZ)); -Eric -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html