From 1e4efb9bff1102b8b10f909737774c55c9b54a30 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@293 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/src/rrd_tool.c b/program/src/rrd_tool.c index 9ea38ce9..fce0925c 100644 --- a/program/src/rrd_tool.c +++ b/program/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.30.2