From aeb56b2ba1eefe08be4a7f20dc36d4a6200aa949 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 17 Jan 2012 15:37:44 +0100 Subject: registry: print error messages on stderr --- registry/source/regimpl.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'registry') diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx index 5eb88c7c36d8..e82789b43cc4 100644 --- a/registry/source/regimpl.cxx +++ b/registry/source/regimpl.cxx @@ -1215,7 +1215,7 @@ RegError ORegistry::checkBlop(OStoreStream& rValue, if (bReport) { - fprintf(stdout, "WARNING: value of key \"%s\" already exists.\n", + fprintf(stderr, "WARNING: value of key \"%s\" already exists.\n", targetPath.getStr()); } return REG_MERGE_CONFLICT; @@ -1225,7 +1225,7 @@ RegError ORegistry::checkBlop(OStoreStream& rValue, rtl_freeMemory(pBuffer); if (bReport) { - fprintf(stdout, "ERROR: values of key \"%s\" contains bad data.\n", + fprintf(stderr, "ERROR: values of key \"%s\" contains bad data.\n", targetPath.getStr()); } return REG_MERGE_ERROR; @@ -1235,7 +1235,7 @@ RegError ORegistry::checkBlop(OStoreStream& rValue, rtl_freeMemory(pBuffer); if (bReport) { - fprintf(stdout, "ERROR: values of key \"%s\" has different types.\n", + fprintf(stderr, "ERROR: values of key \"%s\" has different types.\n", targetPath.getStr()); } return REG_MERGE_ERROR; -- cgit