base: minor style fixes

This commit is contained in:
Norman Feske 2016-11-23 15:17:08 +01:00 committed by Christian Helmuth
parent 33b40ec5d9
commit 5ba245f476
2 changed files with 4 additions and 4 deletions

View File

@ -196,7 +196,7 @@ Ram_dataspace_capability Ram_session_component::alloc(size_t ds_size, Cache_attr
ds = new (&_ds_slab)
Dataspace_component(ds_size, (addr_t)ds_addr, cached, true, this);
} catch (Allocator::Out_of_memory) {
warning("Could not allocate metadata");
warning("could not allocate metadata");
/* cleanup unneeded resources */
_ram_alloc->free(ds_addr);
@ -303,7 +303,7 @@ Ram_session_component::~Ram_session_component()
_free_ds(ds->cap()));
if (_payload != 0)
warning("Remaining payload of ", _payload, " in ram session to destroy");
warning("remaining payload of ", _payload, " in ram session to destroy");
if (!_ref_account) return;

View File

@ -50,11 +50,11 @@ bool Sliced_heap::alloc(size_t size, void **out_addr)
ds_cap = _ram_session.alloc(size);
block = _region_map.attach(ds_cap);
} catch (Region_map::Attach_failed) {
error("Could not attach dataspace to local address space");
error("could not attach dataspace to local address space");
_ram_session.free(ds_cap);
return false;
} catch (Ram_session::Alloc_failed) {
error("Could not allocate dataspace with size %lu", size);
error("could not allocate dataspace with size ", size);
return false;
}