[rrd-users] Segmentation faults

Dez Cadena dez at otenet.gr
Tue May 5 10:57:07 CEST 2009


Hello Tobi and thanks for the patch

unfortunately I missed that email and by the time I noticed I 'd already 
upgraded to 1.3.7 and fedora10 and I had no further issues

thanks again for all the support

dez

Tobias Oetiker wrote:
> Hi Dez,
>
> can you try this patch:
>
> Index: branches/1.3/program/src/rrd_update.c
> ===================================================================
> --- branches/1.3/program/src/rrd_update.c       (revision 1746)
> +++ branches/1.3/program/src/rrd_update.c       (working copy)
> @@ -1943,7 +1943,7 @@
>              /* append info to the return hash */
>              *pcdp_summary = rrd_info_push(*pcdp_summary,
>                                            sprintf_alloc
> -                                          ("[%lli]RRA[%s][%lu]DS[%s]", rra_time,
> +                                          ("[%lli]RRA[%s][%lu]DS[%s]", (long long)rra_time,
>                                             rrd->rra_def[rra_idx].cf_nam,
>                                             rrd->rra_def[rra_idx].pdp_cnt,
>                                             rrd->ds_def[ds_idx].ds_nam),
>
>
> cheers
> tobi
>
>
>   



More information about the rrd-users mailing list