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