Hi Kevin,

thanks
tobi

Today kevin brintnall wrote:

> ---
>  src/rrd_thread_safe.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/rrd_thread_safe.c b/src/rrd_thread_safe.c
> index 6e30115..e1e3cbe 100644
> --- a/src/rrd_thread_safe.c
> +++ b/src/rrd_thread_safe.c
> @@ -66,7 +66,7 @@ const char *rrd_strerror(
>      /* Even though POSIX/XSI requires "strerror_r" to return an "int", some
>       * systems (e.g. the GNU libc) return a "char *" _and_ ignore the second
>       * argument ... -tokkee */
> -#if STRERROR_R_CHAR_P
> +#ifdef STRERROR_R_CHAR_P
>      ret = strerror_r(err, ctx->lib_errstr, sizeof(ctx->lib_errstr));
>      if ((! ret) || (*ret == '\0')) {
>          if (*ctx->lib_errstr != '\0')
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900

_______________________________________________
rrd-developers mailing list
rrd-developers@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers

Reply via email to