From: oetiker Date: Mon, 25 Oct 2004 22:21:19 +0000 (+0000) Subject: fixed segmentation falt problem in rrd_tool -- Yasuhiro Sumi X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ee05ed1738e83a66698307c68ac0855a5dcc961f;p=rrdtool.git 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 --- 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) {