1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-aa,v 1.3 2005/09/17 21:31:26 minskim Exp $
--- build/test-rrd.c.orig 2004-12-25 03:40:25.000000000 -0800
+++ build/test-rrd.c
@@ -20,10 +20,11 @@ int main(int argc, char *argv[])
char **calcpr=NULL;
int pcount, result, xsize, ysize;
+ double ymin, ymax;
for (pcount = 0; (rrdargs[pcount]); pcount++);
rrd_clear_error();
- result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize);
+ result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize, NULL, &ymin, &ymax);
return 0;
}
|