summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-01-17 15:37:44 +0100
committerMichael Stahl <mstahl@redhat.com>2012-01-17 15:49:01 +0100
commitaeb56b2ba1eefe08be4a7f20dc36d4a6200aa949 (patch)
tree7fa75fbe6d51f17dc68a7832a3bc9d268e59cbca /registry
parent8935f127d1dbe82c10db229d6cda1acfb964456c (diff)
registry: print error messages on stderr
Diffstat (limited to 'registry')
-rw-r--r--registry/source/regimpl.cxx6
1 files changed, 3 insertions, 3 deletions
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;