No need to report an error on modules that aren't modules...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27341 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2008-09-06 00:57:24 +00:00
parent ddfa870bb5
commit af18effb0e

View File

@ -1806,7 +1806,7 @@ module_init(kernel_args* args)
for (image = args->preloaded_images; image != NULL; image = image->next) {
status_t status = register_preloaded_module_image(image);
if (status != B_OK) {
if (status != B_OK && image->is_module) {
dprintf("Could not register image \"%s\": %s\n", image->name,
strerror(status));
}