17 lines
513 B
Text
17 lines
513 B
Text
$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;
|
|
}
|