mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-30 10:38:55 +00:00
base: Use distinct error for ref_account mismatch
This commit is contained in:
parent
5caed68fe4
commit
61b94296b2
@ -66,7 +66,7 @@ int Ram_session_component::_transfer_quota(Ram_session_component *dst, size_t am
|
||||
|
||||
/* check for reference account relationship */
|
||||
if ((ref_account() != dst) && (dst->ref_account() != this))
|
||||
return -3;
|
||||
return -2;
|
||||
|
||||
/* decrease quota limit of this session - check against used quota */
|
||||
if (_quota_limit < amount + _payload) {
|
||||
|
Loading…
Reference in New Issue
Block a user