aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>1999-11-18 20:56:24 +0800
committersheldonh <sheldonh@FreeBSD.org>1999-11-18 20:56:24 +0800
commitd742a8937e368785dc7b614d496f3e7cf71584c7 (patch)
tree634ce2a660e385af838e71c85b2b2d7d4b595015 /net
parentc83529047750d52872f77fa228663fe1a8194e6d (diff)
downloadfreebsd-ports-graphics-d742a8937e368785dc7b614d496f3e7cf71584c7.tar.gz
freebsd-ports-graphics-d742a8937e368785dc7b614d496f3e7cf71584c7.tar.zst
freebsd-ports-graphics-d742a8937e368785dc7b614d496f3e7cf71584c7.zip
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>
Diffstat (limited to 'net')
-rw-r--r--net/rrdtool/files/patch-ab18
-rw-r--r--net/rrdtool10/files/patch-ab18
2 files changed, 36 insertions, 0 deletions
diff --git a/net/rrdtool/files/patch-ab b/net/rrdtool/files/patch-ab
new file mode 100644
index 00000000000..f4ccd09b632
--- /dev/null
+++ b/net/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/net/rrdtool10/files/patch-ab b/net/rrdtool10/files/patch-ab
new file mode 100644
index 00000000000..f4ccd09b632
--- /dev/null
+++ b/net/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++)