blob: 6670015bd6339d0276c36f705553f0af80f49046 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ay,v 1.4 2006/05/05 17:42:07 adam Exp $
--- src/rrd_dump.c.orig 2006-05-04 15:26:28.000000000 +0200
+++ src/rrd_dump.c
@@ -113,7 +113,7 @@ rrd_dump_r(char *filename, char *outname
# error "Need strftime"
#endif
fprintf(out_file, "\t<lastupdate> %ld </lastupdate> <!-- %s -->\n\n",
- rrd.live_head->last_up,somestring);
+ (long) rrd.live_head->last_up,somestring);
for(i=0;i<rrd.stat_head->ds_cnt;i++){
fprintf(out_file, "\t<ds>\n");
fprintf(out_file, "\t\t<name> %s </name>\n",rrd.ds_def[i].ds_nam);
|