mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-19 07:38:28 +00:00
committed by
Christian Helmuth
parent
7bed3967ae
commit
e370e08e01
@ -39,7 +39,7 @@ namespace Genode {
|
||||
Lock::Guard _consumed_lock_guard(_consumed_lock);
|
||||
|
||||
if ((_amount - _consumed) < size) {
|
||||
PWRN("Quota exceeded! amount=%zu, size=%zu, consumed=%zu",
|
||||
PWRN("Quota exceeded! amount=%lu, size=%lu, consumed=%lu",
|
||||
_amount, size, _consumed);
|
||||
return Ram_dataspace_capability();
|
||||
}
|
||||
@ -66,7 +66,7 @@ namespace Genode {
|
||||
Lock::Guard _consumed_lock_guard(_consumed_lock);
|
||||
|
||||
if ((_amount - _consumed) < amount) {
|
||||
PWRN("Quota exceeded! amount=%zu, size=%zu, consumed=%zu",
|
||||
PWRN("Quota exceeded! amount=%lu, size=%lu, consumed=%lu",
|
||||
_amount, amount, _consumed);
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user