From ee05ed1738e83a66698307c68ac0855a5dcc961f Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 25 Oct 2004 22:21:19 +0000 Subject: [PATCH] fixed segmentation falt problem in rrd_tool -- Yasuhiro Sumi git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@293 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rrd_tool.c b/src/rrd_tool.c index 9ea38ce..fce0925 100644 --- a/src/rrd_tool.c +++ b/src/rrd_tool.c @@ -543,7 +543,7 @@ int HandleInputLine(int argc, char **argv, FILE* out) else if (strcmp("resize", argv[1]) == 0) rrd_resize(argc-1, &argv[1]); else if (strcmp("last", argv[1]) == 0) - printf("%ld\n",rrd_last(argc-1, argv[1])); + printf("%ld\n",rrd_last(argc-1, &argv[1])); else if (strcmp("update", argv[1]) == 0) rrd_update(argc-1, &argv[1]); else if (strcmp("fetch", argv[1]) == 0) { -- 2.11.0