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:
@@ -1806,7 +1806,7 @@ module_init(kernel_args* args)
|
|||||||
|
|
||||||
for (image = args->preloaded_images; image != NULL; image = image->next) {
|
for (image = args->preloaded_images; image != NULL; image = image->next) {
|
||||||
status_t status = register_preloaded_module_image(image);
|
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,
|
dprintf("Could not register image \"%s\": %s\n", image->name,
|
||||||
strerror(status));
|
strerror(status));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user