Browse Source

Error message to stderr

pre-master-46
Holger Vogt 3 years ago
parent
commit
be6bd990db
  1. 2
      src/osdi/osdiregistry.c

2
src/osdi/osdiregistry.c

@ -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;
} }

Loading…
Cancel
Save