Made errors reported on stderr, not stdout.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29900 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin 2009-04-04 16:13:15 +00:00
parent 0a5c6763e3
commit d38e00569e
1 changed files with 2 additions and 2 deletions

View File

@ -217,14 +217,14 @@ main(int argc, char *argv[])
} else {
/* else what? */
/* this can not happen! */
printf("Serious internal error; contact support\n");
fprintf(stderr, "Serious internal error; contact support\n");
}
}
/* Error messages and return code setting */
if (status == WRONG_DIR_TYPE) {
printf("%s: unrecognized directory_which constant \'%s\'\n", argv[0],
fprintf(stderr, "%s: unrecognized directory_which constant \'%s\'\n", argv[0],
argv[directoryArgNr]);
returnCode = 252;
}