From 64399fc301f4a87bc6cea58033d4f8350acf3204 Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 13 Mar 2006 23:21:27 +0000 Subject: [PATCH] in pipe mode, make rrd_tool send errors to STDOUT (most of the time) -- tobi git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@774 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 904bc5cb..23344312 100644 --- a/program/src/rrd_tool.c +++ b/program/src/rrd_tool.c @@ -363,7 +363,7 @@ int main(int argc, char *argv[]) while (fgets(aLine, sizeof(aLine)-1, stdin)){ if ((argc = CountArgs(aLine)) == 0) { - fprintf(stderr,"ERROR: not enough arguments\n"); + printf("ERROR: not enough arguments\n"); } if ((myargv = (char **) malloc((argc+1) * sizeof(char *))) == NULL) { -- 2.30.2