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:
parent
0a5c6763e3
commit
d38e00569e
|
@ -217,14 +217,14 @@ main(int argc, char *argv[])
|
||||||
} else {
|
} else {
|
||||||
/* else what? */
|
/* else what? */
|
||||||
/* this can not happen! */
|
/* 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 */
|
/* Error messages and return code setting */
|
||||||
|
|
||||||
if (status == WRONG_DIR_TYPE) {
|
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]);
|
argv[directoryArgNr]);
|
||||||
returnCode = 252;
|
returnCode = 252;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue