16 lines
565 B
Plaintext
16 lines
565 B
Plaintext
$NetBSD: patch-ay,v 1.1.1.1 2008/07/28 19:48:03 martti Exp $
|
|
|
|
Adjust for pkgsrc.
|
|
|
|
--- src/rrd_dump.c.orig 2007-05-02 21:06:10.000000000 +0300
|
|
+++ src/rrd_dump.c 2007-05-16 08:44:23.000000000 +0300
|
|
@@ -113,7 +113,7 @@
|
|
# 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);
|