aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cfengine2/files/patch-src_cfetoolgraph.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-10-16 07:41:55 +0000
commit40a3261d1a6e2617f6afde0cd6d762a7e211af7a (patch)
treed70bbf882801af3a4e58dde3ed6a1da1849479d4 /sysutils/cfengine2/files/patch-src_cfetoolgraph.c
parenta9f801a2186fcb89f70f7dcb211c6d4922c0e3af (diff)
Notes
Diffstat (limited to 'sysutils/cfengine2/files/patch-src_cfetoolgraph.c')
-rw-r--r--sysutils/cfengine2/files/patch-src_cfetoolgraph.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/cfengine2/files/patch-src_cfetoolgraph.c b/sysutils/cfengine2/files/patch-src_cfetoolgraph.c
new file mode 100644
index 000000000000..f1e51df51aff
--- /dev/null
+++ b/sysutils/cfengine2/files/patch-src_cfetoolgraph.c
@@ -0,0 +1,20 @@
+--- src/cfetoolgraph.c.orig Thu Oct 6 19:31:19 2005
++++ src/cfetoolgraph.c Thu Oct 6 19:32:22 2005
+@@ -542,6 +542,8 @@ void WriteGraphFiles(int dbtype)
+ void WriteHistogram(int dbtype)
+ {
+ int numdays=0;
++ int position, day;
++ int weekly[CF_GRAINS];
+ /* Finally, look at the histogram */
+
+ printf("Writing histogram file now!\n");
+@@ -554,8 +556,6 @@ void WriteHistogram(int dbtype)
+ }
+ }
+
+- int position, day;
+- int weekly[CF_GRAINS];
+
+ switch(dbtype)
+ {