Error message to stderr

This commit is contained in:
Holger Vogt 2023-01-25 14:52:51 +01:00
parent 3a283b2630
commit cef1a24275
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ extern OsdiObjectFile load_object_file(const char *input) {
} }
const char *path = resolve_input_path(input); const char *path = resolve_input_path(input);
if (!path) { if (!path) {
printf("Error opening osdi lib \"%s\": No such file or directory!\n", fprintf(stderr, "Error opening osdi lib \"%s\": No such file or directory!\n",
input); input);
return INVALID_OBJECT; return INVALID_OBJECT;
} }