summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>1999-11-18 12:56:24 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>1999-11-18 12:56:24 +0000
commite4dd5c0156766427e07ac8cb88a4849d7d3151bb (patch)
tree8977ea33056bd47b7daa8552c76ef06287d0fec2 /databases
parentExecutable was being branded as a FreeBSD executable during install, (diff)
Formatting fix for ``rrdtool fetch'' output. The submitter has sent this
patch to the author, who I am told approves. Submitted by: Ian Freislich <iang@uunet.co.za>
Notes
Notes: svn path=/head/; revision=23182
Diffstat (limited to 'databases')
-rw-r--r--databases/rrdtool/files/patch-ab18
-rw-r--r--databases/rrdtool10/files/patch-ab18
2 files changed, 36 insertions, 0 deletions
diff --git a/databases/rrdtool/files/patch-ab b/databases/rrdtool/files/patch-ab
new file mode 100644
index 000000000000..f4ccd09b6328
--- /dev/null
+++ b/databases/rrdtool/files/patch-ab
@@ -0,0 +1,18 @@
+--- src/rrd_tool.c.orig Thu Nov 18 14:52:04 1999
++++ src/rrd_tool.c Thu Nov 18 14:54:16 1999
+@@ -202,12 +202,12 @@
+ datai=data;
+ printf(" ");
+ for (i = 0; i<ds_cnt;i++)
+- printf("%10s",ds_namv[i]);
++ printf("%14s ",ds_namv[i]);
+ printf ("\n\n");
+ for (i = start; i <= end; i += step){
+- printf("%10lu:", i);
++ printf("%10lu: ", i);
+ for (ii = 0; ii < ds_cnt; ii++)
+- printf("%10.2f", *(datai++));
++ printf("%14.2f ", *(datai++));
+ printf("\n");
+ }
+ for (i=0;i<ds_cnt;i++)
diff --git a/databases/rrdtool10/files/patch-ab b/databases/rrdtool10/files/patch-ab
new file mode 100644
index 000000000000..f4ccd09b6328
--- /dev/null
+++ b/databases/rrdtool10/files/patch-ab
@@ -0,0 +1,18 @@
+--- src/rrd_tool.c.orig Thu Nov 18 14:52:04 1999
++++ src/rrd_tool.c Thu Nov 18 14:54:16 1999
+@@ -202,12 +202,12 @@
+ datai=data;
+ printf(" ");
+ for (i = 0; i<ds_cnt;i++)
+- printf("%10s",ds_namv[i]);
++ printf("%14s ",ds_namv[i]);
+ printf ("\n\n");
+ for (i = start; i <= end; i += step){
+- printf("%10lu:", i);
++ printf("%10lu: ", i);
+ for (ii = 0; ii < ds_cnt; ii++)
+- printf("%10.2f", *(datai++));
++ printf("%14.2f ", *(datai++));
+ printf("\n");
+ }
+ for (i=0;i<ds_cnt;i++)