diff options
author | sheldonh <sheldonh@FreeBSD.org> | 1999-11-18 20:56:24 +0800 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 1999-11-18 20:56:24 +0800 |
commit | d742a8937e368785dc7b614d496f3e7cf71584c7 (patch) | |
tree | 634ce2a660e385af838e71c85b2b2d7d4b595015 /net/rrdtool | |
parent | c83529047750d52872f77fa228663fe1a8194e6d (diff) | |
download | freebsd-ports-gnome-d742a8937e368785dc7b614d496f3e7cf71584c7.tar.gz freebsd-ports-gnome-d742a8937e368785dc7b614d496f3e7cf71584c7.tar.zst freebsd-ports-gnome-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/rrdtool')
-rw-r--r-- | net/rrdtool/files/patch-ab | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net/rrdtool/files/patch-ab b/net/rrdtool/files/patch-ab new file mode 100644 index 000000000000..f4ccd09b6328 --- /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++) |