mirror of
https://github.com/schoebel/mars
synced 2025-02-24 16:47:20 +00:00
light: correct error code OOM
This commit is contained in:
parent
30f97cd23f
commit
57b8d173ff
@ -197,7 +197,7 @@ done:
|
|||||||
|
|
||||||
limit += global_free_space_0;
|
limit += global_free_space_0;
|
||||||
if (unlikely(global_total_space < limit)) {
|
if (unlikely(global_total_space < limit)) {
|
||||||
return -ENOMEM;
|
return -ENOSPC;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user