Kaydet (Commit) aeb56b2b authored tarafından Michael Stahl's avatar Michael Stahl

registry: print error messages on stderr

üst 8935f127
...@@ -1215,7 +1215,7 @@ RegError ORegistry::checkBlop(OStoreStream& rValue, ...@@ -1215,7 +1215,7 @@ RegError ORegistry::checkBlop(OStoreStream& rValue,
if (bReport) if (bReport)
{ {
fprintf(stdout, "WARNING: value of key \"%s\" already exists.\n", fprintf(stderr, "WARNING: value of key \"%s\" already exists.\n",
targetPath.getStr()); targetPath.getStr());
} }
return REG_MERGE_CONFLICT; return REG_MERGE_CONFLICT;
...@@ -1225,7 +1225,7 @@ RegError ORegistry::checkBlop(OStoreStream& rValue, ...@@ -1225,7 +1225,7 @@ RegError ORegistry::checkBlop(OStoreStream& rValue,
rtl_freeMemory(pBuffer); rtl_freeMemory(pBuffer);
if (bReport) 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()); targetPath.getStr());
} }
return REG_MERGE_ERROR; return REG_MERGE_ERROR;
...@@ -1235,7 +1235,7 @@ RegError ORegistry::checkBlop(OStoreStream& rValue, ...@@ -1235,7 +1235,7 @@ RegError ORegistry::checkBlop(OStoreStream& rValue,
rtl_freeMemory(pBuffer); rtl_freeMemory(pBuffer);
if (bReport) 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()); targetPath.getStr());
} }
return REG_MERGE_ERROR; return REG_MERGE_ERROR;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment